Thanks all for these directions. In the mean time, I also found an interesting but not free software, Flashboot (http://www.prime-expert.com/).
I've tried FlashBoot, it basically makes your USB drive bootable, (which can be done by free tools, eg. HP USB drive tool), then create an image of the CD and copies it to the flash drive with a small bootloader that when booted copies the entire image into RAM and boots it.
The entire process can be done with freeware tools, I've done it to create a 2.5" USB HD drive that could boot different OS's, eg. BartPE, VistaPE, Acronis Rescue CD, etc, using GRUB4DOS.
The easiest way would be:
1) Make the flash drive bootable using the HP USB Disk Storage Format Tool
2) Create an ISO of your BartPE or UBCD4Win using ImgBurn
or some tool, just make sure it's a standard bootable ISO.
3) Then use GRUB4DOS
to load the image into RAM and boot it when you boot off of the flash drive.
This is a section of the menu I used for Acronis Rescue CD which shows how I load and then boot the ISO:
[size=12pt]title Acronis True Image Home v11
map --mem --read-only (hd0,0)/Acronis.iso (hd32)
The main problem with this approach is that the target machine always has to have enough RAM to load the image into - this is why I prefer to use a USB 2.5" HD with BartPE installed plus you get heaps more storage.
I ended up dumping this method as a lot of machines USB2.0 ports aren't USB2.0 until an OS and driver are loaded
, (including mine
), which made loading an ISO image off of the drive and then booting it vvvveeeeeerrrrrrryyyyyy sssssllllllooooowwwww, (ie. 1.1MB/s).
Alternatively, instead of steps 2 and 3 above, once you have made the USB flash drive bootable you should be able to use PEINST to install BartPE onto it. PEINST is part of PEBuilder
Regarding the type of bootable CD I'd like to convert, they are of all kinds : WinPE, BartPE, DOS, but generally not Linux.
I also just tried yesterday UBCD4win, which solves the problem I had with BartPE CD on a SATA notebook, now it would be great to "USBize" it.
All you need to do is add the driver for the SATA interface on your notebook to your BartPE but I'm surprised that the SATA interface on the notebook isn't capable of using the generic driver in a BartPE.
to create your BartPE. It has a builtin driver detector that can add the drivers off of the machine you build your BartPE on.