Help - Search - Members - Calendar
Full Version: Utility for creating FAT/FAT32/NTFS BartPE USB-Sticks/HDD's
The CD Forum > Bart's PE Builder > USB Booting
Pages: 1, 2, 3, 4, 5, 6, 7, 8
fuwi
I've uploaded a new version of my z_FuwiKicker plugin: http://www.fuwi.ethz.ch/files/z_FuwiKicker.zip

This version is completely independent from the standard UBCD4Win Kicker plugin. It is using his own bootloader (fuldr) and menu-file (fwbk.lst)
and it is a little bit better commented and documented.

BTW: It is also possible to create a UBCD4Win-USB Boot drive with my 'Bootable USB-Drive Utility'. The installation is identically as descripted in post #1.
The best place for the associated BartPE-plugin (USB-Boot_Utilities) is the Add-Ons folder in UBCD4Win-Builder.

fuwi
fuwi
@AEN

QUOTE (AEN @ Jan 8 2010, 06:16 PM) *
Would it be possible at sometime to add to the mb BPE CD the option»
Press any key to boot from the CD ...


go to the Multiboot_Bart-CD plugin, grub4dos_files, add the menu item 'Boot from Harddisk' to menu_kickboot.lst:
CODE
default 0
timeout 10

gfxmenu = /BOOT/GRUB4DOS/gfx-PE_theme

title Boot from Harddisk \n
chainloader /ntldr

title Boot BartPE \n BartPE - the Windows Rescue and Repair Environment
chainloader /I386/SETUPLDR.BIN

title Kick-Boot my external BartPE-Drive \n Boot BartPE from external device (USB, Firewire, SCSI etc)
map --mem --read-only /BOOT/IMAGES/ChainBootPE.img.gz (hd0)
map --hook
find --set-root /ntldr
chainloader /ntldr

title Others \n
configfile /menu2.lst

title Reboot \n Restart the computer
reboot

title Shutdown \n Power off the computer
halt

this new option boots WinNT, Win2000, Server2003 or WinXP from the Harddisk

fuwi
mastershake
Sort of a noob at this stuff. I have created the bootable BartPE USB with some extra boot floppies and ISO's (ie. parted magic). Everthing works great - thanks FUWI!!

I also created the kick-boot CD - which works great too - except it only boots into Bart. How can I get it to boot the whole USB so I can access the menu2.lst with all my other goodies.

Thanks for the help.

mastershake
I've been checking the forum - no answer yet. So consider this a *BUMP* - even though its a sticky.

Is this something that's even possible? Thanks.





Bastian
Sometimes creating a new topic for a question gets more attention.
jaclaz
@mastershake
The kicker boot is "by design" limited to boot ONLY the specific PE or XP build that it was made for.
In other words it is not a "general boot from USB solution, it is a "specific" one, uising the XP Kansas City Shuffle approach:
http://www.911cd.net/forums//index.php?showtopic=21242

In order to have the USB boot supported on a non BIOS compliant PC, you need to use PLoP:
http://www.plop.at/
http://www.plop.at/en/bootmanager.html

which provides an USB stack that extends booting capabilities.
In your case you can create another "kicker" CD with PLoP only (there is a pre-made .iso image on the homepage) or "integrate" PLoP in the same PE kicker CD.

jaclaz
mastershake
@jaclaz - Thanks, that's was what I suspected - that the kicker was designed that way. Thanks for the new lead.

edit: Wow PloP works great as a kicker CD. I am going to try to integrate it now into the Fuwi kicker. Thanks again!!
fuwi
Here some of my experiences with the PLoP bootmanager (PLoP started from a Boot-CD via grub4dos)

On machines that don't have BIOS-support for USB-booting, the PLoP USB-Boot function seems to work very well.

On machines that have BIOS-support for USB-booting, the PLoP USB-Boot function doesn't work (hangs in the USB-menu),
even if the USB-support is disabled in the BIOS.
On such machines, the attached USB-drive ist listed as "HDB PARTITION 1" (if HDA is the internal HD), and one can boot
this USB-drive via "HDB PARTITION 1".

On some machines the graphic PLoP-menu is disturbed, nearly unreadable, e.g on Lenovo T60.
So it's better to config plpbt.bin to "vm=text" with plpcfgbt.exe

Pro's and con's of PLoP USB-boot versus Kickboot (Kansas City Shuffle method):
* PLoP can boot a USB-drive completely with his bootmenu, Kickboot can only boot the WindowsPE-part of the USB-drive
* PLoP can also boot other OS'es from USB-drive (like Linux, DOS, etc), Kickboot only WindowsPE
* Kickboot can boot a USB-drive via a USB PCMCIA/PC-Card or via a USB-Hub, PLoP cannot do that
* if the USB-drive is created with my 'Bootable USB-Drive Utility', PLoP can only boot the "Kick-Boot BartPE (fast) entry from the USB-drive's bootmenu -> the "Boot BartPE" entry gives a "NTDETECT failed" error
* ...

fuwi
jaclaz
QUOTE (fuwi @ Jan 25 2010, 03:40 PM) *
..... Kickboot only WindowsPE
* Kickboot can boot a USB-drive via a USB PCMCIA/PC-Card or via a USB-Hub, PLoP cannot do that


...and XP and also from firewire, etc. :
http://www.boot-land.net/forums/index.php?showtopic=5487
http://www.boot-land.net/forums/index.php?showtopic=6672

jaclaz
fuwi
Another contra of PLoP:
Within one hour intensive testing with about 6 different USB-sticks, PLoP has killed the partition table on 2 sticks. mad.gif
I had to repair this sticks with testdisk...
Perhaps PLoP reacts a bit sensitive when disconnecting a USB-drive at the wrong time...

fuwi
fuwi
empty...

fuwi
jaclaz
QUOTE (fuwi @ Jan 25 2010, 05:07 PM) *
Perhaps PLoP reacts a bit sensitive when disconnecting a USB-drive at the wrong time...


AFAIK it behaves more or less like if you strip a IDE connector from a hard disk with the disk spinning and the OS writing to it.....

.... I mean the "plug 'n play" of USB is an OS "superstructure", not an "embedded" feature of the device.

I presume (but don't want to try it ph34r.gif) that the same happens for DOS USB drivers.

jaclaz
mastershake
Fuwi and jaclaz,

As long as we are on the subject - I hope you don't mind an additional question.

I was trying to integrate the PloP kicker with Fuwi's kicker and am having some issues.

I extracted the menu.lst from Fuwi's kicker and added the GRUB4DOS commands. I then recompiled the ISO with the new menu.lst and plpbt.bin. These are the GRUB commands I added.

CODE
title PLoP Boot Manager
root (hd0,0)
kernel /plpbt.bin


When I select PloP the VM restarts.

Thanks,
Jay
jaclaz
I don't get it. w00t.gif

Is the /plpbt.bin on a hard disk device? (JFYI (hd0,0) means first partition of first hard disk) or on the CD?

You should read the grub4dos guide:
http://diddy.boot-land.net/grub4dos/Grub4dos.htm
EXPECIALLY:
http://diddy.boot-land.net/grub4dos/files/syntax.htm
http://diddy.boot-land.net/grub4dos/files/basics.htm
http://diddy.boot-land.net/grub4dos/files/cli.htm

Use command line when experimenting.
Remember that to grub4dos CDFS is CaSe sEnSiTiVe.

jaclaz
mastershake
Thanks again. After reading the grub4dos manual again. Honestly I did read it before I posted. I added a find --set-root for plpbt.bin and what do you know - it works. thumbup.gif
jaclaz
QUOTE (mastershake @ Jan 26 2010, 03:05 AM) *
I added a find --set-root for plpbt.bin and what do you know - it works. thumbup.gif


Yep smile.gif that is "by design" wink.gif

happy71.gif

jaclaz
fuwi
@all

New version of my 'Bootable USB-Drive Utility' available (v1.8.0) thumbsup.gif
-> Info's & download link for the new version in the first post

fuwi
ChinaDragon
@fuwi

Great tools, it work fine for me,  sorcerer.gif

Just have problem when
BootFrom=mbr
UpdKicker=1

The budu.cmd line 690 will prompt for Y/N that create Boot-Kicker Image or not
If user select Y then call %DrvLetter%\Create_WinPE_Kicker-CD.iso.cmd and then goto label :END
We can found the label :END located at line 733 that just after the label :Finishing (line 718), in such case, if BootFrom=mbr, the batch will not cater it !

Just try to move this part to line 338, it work fine now  sweatingbullets.gif
CODE
if "%BootFrom%"=="mbr" (
    :grub_in_mbr
    MbrFix.exe /drive %DrvNum% savembr %Temp%\mbr.tmp >nul
    Bootmanager\grub4dos\grubinst.exe --skip-mbr-test ^(hd%DrvNum%^) >nul
    Bootmanager\grub4dos\chboot\copysgcs.exe %Temp%\mbr.tmp \\.\physicaldrive%DrvNum% 0x1B0 >nul
    del /f /q %Temp%\mbr.tmp >nul
    echo. & xecho "grub4dos installed in MBR" /a:0E
) else (
    :grub_in_bootsector
    :: install grub4dos in the bootsector of the BartPE-Partition on the USB-Drive:
    Drv.exe GetPartNum %DrvLetter%
    set PartNum=%errorlevel%
    mbrfix.exe /drive %DrvNum% /partition %PartNum% setactivepartition /yes >nul
    rem mbrfix.exe /drive %DrvNum% generatesignature /yes >nul
    set /a PartNum=%PartNum%-1
    Bootmanager\grub4dos\grubinst.exe --skip-mbr-test (hd%DrvNum%,%PartNum%) >nul
    touchdrv.exe %DrvLetter%
    echo. & xecho "grub4dos installed in Bootsector" /a:0E
)
goto COPY


Also line 730 will prompt for error too
QUOTE
Xecho is not recognized as an internal or external command,....


Likely the batch switch the working directory to the %DrvLetter%, change it to 
echo. & "%WorkDir%"\xecho "The Bootable USB-Drive Utility has finished, press any key..." /nolf

Problem gone
sorcerer.gif
fuwi
@ChinaDragon

i've verified the bug, thanks a lot! oops.gif

can you test my corrected budu.cmd? http://www.fuwi.ethz.ch/test/budu_v1.8.1.zip

fuwi
ChinaDragon
QUOTE (fuwi @ Feb 3 2010, 12:05 AM) *
@ChinaDragon

i've verified the bug, thanks a lot! oops.gif

can you test my corrected budu.cmd? http://www.fuwi.ethz.ch/test/budu_v1.8.1.zip

fuwi

@fuwi

You are welcome, it is my pleasure, will report on it soon......


sweatingbullets.gif

ChinaDragon
QUOTE (ChinaDragon @ Feb 3 2010, 07:58 PM) *
@fuwi

You are welcome, it is my pleasure, will report on it soon......


sweatingbullets.gif


@fuwi


Many thank, problem gone, all work fine now. sorcerer.gif happy71.gif

fuwi
@ChinaDragon

thanks, next i will update the whole utility to v1.8.1 on my server thumbsup.gif

fuwi
fuwi
@all

New version of my 'Bootable USB-Drive Utility' available (v1.8.1) thumbsup.gif
-> Info's & download link for the new version in the first post

fuwi
VeeDub
@fuwi

I would like to include an entry in the menu.lst which allows me to get to the grub4dos command-line, is this possible?

VW
Bastian
The command "commandline" does that.
VeeDub
QUOTE (Bastian @ Feb 10 2010, 04:38 PM) *
The command "commandline" does that.

Thanks, figured there had to be a way. The grub4dos readme seems to assume you know the "basics" and concentrates on more in-depth material.
fuwi
@VeeDub

An other way to the commandline prompt is to hit <esc> in the graphical menu, then press <enter> to leave the graphical menu.
Now you are in the standard textmode grub4dos menu, hit 'c' and you are on the commandline thumbsup.gif

fuwi
BhishmaR
I was not using BartPE nor following its later developments for a couple of years.
I wanted to getback into it, with the USB boot method. Fuwi's "Bootable USB-Drive Utility" seems to be a better & flexible method, after doing some quick initial search, even though lack of adequate documentation is the major drawback for a new-user.

A couple of questions though:
1. When I last left bartpe there was a restriction, that i should build with Win-XP-SP2 source. (NOT SP3).
Is this still valid, or I can use SP3 with some trick?

2. The host system (for running this utility to create the bootable usb ) can be either XP or Win7 ?

Thanks & regds
Ed_P
QUOTE (BhishmaR @ Feb 27 2010, 09:50 AM) *
A couple of questions though:
1. When I last left bartpe there was a restriction, that i should build with Win-XP-SP2 source. (NOT SP3).
Is this still valid, or I can use SP3 with some trick?

2. The host system (for running this utility to create the bootable usb ) can be either XP or Win7 ?

1. SP3 does not appear to be a problem for many members.
2. The host system should not matter.

Both responses from someone who's PEBuilder runs on XP systems and uses SP2 for it's source. whistling.gif
fuwi
@BhishmaR

QUOTE (BhishmaR @ Feb 27 2010, 03:50 PM) *
2. The host system (for running this utility to create the bootable usb ) can be either XP or Win7 ?

There is only one limitation of the utility under Win7 (and Vista?): it is not possible to create a new USB-drive with NFTS
(but this is checked by the utility):

fuwi
jaclaz
@fuwi
Please don't tell me that you can actually read the dark red text on black background in the posted image. w00t.gif

My spectacles are rather expensive, and been notoriously cheap ph34r.gif, I would like NOT to have their lenses changed once again wink.gif.

Now seriously, can you explain why it is not possible under Windows7?

Maybe there is a workaround. hmm.gif

Namely this one (putting disk "offline"):
http://www.911cd.net/forums//index.php?showtopic=23627
http://www.911cd.net/forums//index.php?sho...=23627&st=1

jaclaz
fuwi
@jaclaz

QUOTE (jaclaz @ Mar 2 2010, 12:53 PM) *
Now seriously, can you explain why it is not possible under Windows7?


i try to reply tomorrow (or so), i'm currently very busy... wacko.gif

fuwi
Thomas Jung
Hello,

there is a file touchdrv.exe inside the archive,
but there is no help from/within the commandline.

What is the purpose of that touchdrv.exe?

fuwi
@Thomas Jung

touchdrv.exe corrects a problem if grubinst.exe installs grub4dos in the partition bootsector (not in the mbr).

The problem is:
If there are file copy operations (e.g. in a script) to the same drive AFTER grubinst.exe, the bootsector reverts to the previous state.

If touchdrv.exe is called immediately after grubinst.exe, it reads the newly created grub4dos bootsector and writes it immediately
back to the partition (permanent).

read this http://www.boot-land.net/forums/index.php?...ost&p=38845

touchdrv.exe is made by Bean123 http://www.boot-land.net/forums/index.php?...ost&id=5774

fuwi
fuwi
@jaclaz

Do you know where are the postings from yesterday (September 20 2010) in this thread? wacko.gif

It was the discussion about integrating Parted Magic 5.5 in a bootable USB-Stick.

fuwi
jaclaz
QUOTE (fuwi @ Sep 21 2010, 11:16 AM) *
@jaclaz

Do you know where are the postings from yesterday (September 20 2010) in this thread? wacko.gif

It was the discussion about integrating Parted Magic 5.5 in a bootable USB-Stick.

fuwi


Yes. smile.gif (not because I have anything to do with their move, mind you , only because I know how to search wink.gif).

Someone whistling.gif has moved them to this new thread:
What about adding any of the UBCD4Win MultiBoot plugins, to the Fuwi BartPE MultiBoot CD?
without posting a link to them here w00t.gif.

BTW I personally do approve of the move as Kostanz's original post is a form of thread hijacking....ph34r.gif

jaclaz
Ed_P
QUOTE (jaclaz @ Sep 21 2010, 09:06 AM) *
without posting a link to them here w00t.gif.

blushing.gif

I also split off the last posting to here:

Fuwi USB kickboot utility works , but not well on one of my XP laptops

Sorry for the confusion.
fuwi
Thanks jaclaz & Ed_P

fuwi
Konstanz
QUOTE (AEN @ Aug 16 2009, 04:18 AM) *
I hope you are OK with input/suggestions about your awesome utility.
I would also split the "Build Kickboot iso" (if possible) into two questions.
1) Enable Kickbooting USB stick?
2) Build Kickboot iso?
The Kickboot option is now not directly a part of the Fuwi USB MB, but I would like to ask/know if it would be possible to have the (new) create kickboot option ask to build the iso or not. Creating the kickboot would go much faster without building the iso and maybe would not need to open a virtual drive?
fuwi
QUOTE (Konstanz @ Sep 25 2010, 06:43 PM) *
The Kickboot option is now not directly a part of the Fuwi USB MB, but I would like to ask/know if it would be possible to have the (new) create kickboot option ask to build the iso or not. Creating the kickboot would go much faster without building the iso and maybe would not need to open a virtual drive?

'Fuwi USB MB' -> from which utility do you speak?

fuwi
Konstanz
QUOTE (fuwi @ Sep 27 2010, 05:42 AM) *
'Fuwi USB MB' -> from which utility do you speak?fuwi
The "Put BartPE on a USB stick utility" that creates/runs the Create_WinPE_Kicker-CD.iso.cmd ... the older version of this Fuwi utility used to ask about running the Create_WinPE_Kicker-CD.iso.cmd after formatting a stick and putting BartPE on it ... Now one has / is able to separately run the Create_WinPE_Kicker-CD.iso.cmd to make the BPE USB stick kickboot itself (not a CD). My thought is that the Create_WinPE_Kicker-CD.iso.cmd could/should ask if I want to only enable the USB self-kickboot or also build a kickboot iso for a CD.
QUOTE (Konstanz @ Sep 25 2010, 11:43 AM) *
Creating the kickboot would go much faster without building the iso and maybe would not need to open a virtual drive?

fuwi
@konstanz

edit the main-script 'BOOTABLE_USB-DRIVE.cmd':
CODE
:: if UpdKicker = 1: ask for recreating the Boot-Kicker images after creating or updating an USB-Drive.
set UpdKicker=1


kickboot always needs to open a virtual drive, regardless with or without building the iso.

fuwi
Konstanz
Thanks for the reply. I guess my ques/sugges/tion is not clear.
1) One has to run create bootable iso to make the Fuwi MultiBoot USB stick kickbootable.
2) I want kickbootable Fuwi USB sticks but do/can not need/use the created iso; so
3) maybe the create bootable iso cmd could/should ask if I want to only enable the USB self-kickboot or also build a kickboot iso for a CD.
Making the change
QUOTE
set UpdKicker=1
only puts the bootable iso question back into the "Put BPE on a Fuwi stick" sequence.
If I create a Fuwi stick without running create bootable iso, the Fuwi stick will not kickboot, so I have to run create bootable iso.
I would like to be able to run create bootable iso WITHOUT actually creating the iso - only making the Fuwi stick kickbootable ...
fuwi

QUOTE (Konstanz @ Oct 9 2010, 03:29 PM) *
I would like to be able to run create bootable iso WITHOUT actually creating the iso - only making the Fuwi stick kickbootable ...


Done. Read history in post #1 and download the new version 1.8.8 rolleyes.gif

fuwi
fuwi
@all

New version of my 'Bootable USB-Drive Utility' available (v1.9.1) thumbsup.gif
-> Info's & download link for the new version in the first post

fuwi
fuwi
@all

New version of my 'Bootable USB-Drive Utility' available (v1.9.3) thumbsup.gif

I've made some enhancements for the the integrated PEBuilder-Plugin

readme.txt in USB-Boot.zip in folder PEBuilder-Plugin:
QUOTE
PEBuilder plugin for the 'Bootable USB-Drive Utility'
-----------------------------------------------------

This plugin has been tested in a absolute minimal PEBuilder configuration,
only this 5 plugins are enabled:

- A43 File Management Utility
- Bootable USB-Drive Utility
- RamDisk
- Nu2Menu
- Startup Group

The 'Bootable USB-Drive Utility' works perfect, with this 2 restrictions:
- a USB-Stick must be connected before BartPE has booted.
- at the end of creating a bootable USB-Stick, the automatic reconnect doesn't work.

This is because the absence of USB-Plug'n'Play. So it's strongly recommended to
use a PEBuilder plugin for USB-Plug'n'Play. If you haven't any, you can use the
one attached to this plugin: usb1394.zip, adds only 3.5 MB to your build.

If you whish to have other default settings in the 'Bootable USB-Drive Utility',
you can change some settings in 'BOOTABLE_USB-DRIVE.cmd' (in the files folder).

Note:
-----
The usb1394 Plug'n'Play plugin supports hot plug of USB-Sticks and USB-HDD's.
But if you boot a BartPE-CD with integrated usb1394 Plug'n'Play, hot plugged
USB-HDD's are not visible in the 'Bootable USB-Drive Utility', only USB-Sticks.
If you whish to create a bootable USB-HDD from the booted BartPE-CD, you have
to connect the USB-HDD first, then boot the CD.

The easier way to do that is to insert the BartPE-CD in a running Win XP/Vista/Win7
machine and start the 'Bootable USB-Drive Utility' via 'Bootable USB-Drive Utility.cmd'
in the CD-Root. Now USB-HDD's are also visible in the 'Bootable USB-Drive Utility'.


-> Info's & download link for the new version in the first post

fuwi
Oom Erik
Thanks for this new version.
Needless to say: works perfectly thumbup.gif

BR,
Erik.
fuwi
Many thanks Erik smile.gif

fuwi
NeTTecH
Thanks fuwi,

Really appreciate this utility ........ many thanks thumbsup.gif
fuwi
@all

New version of my 'Bootable USB-Drive Utility' available (v1.9.7) thumbsup.gif
-> Info's & download link for the new version in the first post

fuwi
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.