| Boot BartPE, Slax and BackTrack off USB-Stick |
|
|
|
| Written by Andreas Böhler |
| Tuesday, 08 July 2008 01:00 |
|
I recently discovered this page about booting MiniPE, Knoppix and BackTrack from USB. However, the procedure didn't work out for me on my Kingston 4GB stick. Here's how I set it up: I first followed the directions from the Site mentioned above and used PeToUsb to install PE from the ISO to my stick. Once installed, it booted perfectly. However, any Partition Management Utility I tried showed the partition as invalid an wouldn't let me resize it. I don't know whether using PeToUsb in the first place is necessary or not. Necessarities
PartitioningAt first you need to partition and format your device. I used one partition for every OS, the BartPE partition is the first and formatted as FAT so that Windows can use this partition also as data storage.My partition scheme looks like this: Device Boot Start End Blocks Id System
Setting up GRUBGrub will be installed in the MBR and helps us select the OS to boot. So issue the following commands, replacing sdf with your usb-device:At first, mount your Grub-partition somewhere: sudo mount /dev/sdf2 /mnt cd /mnt Next, we need to create a menu.lst file: grub-install --root-directory=. --no-floppy /dev/sdf cd /mnt/boot/grub andy@ich:/mnt/boot/grub$ cat menu.lst We're done with setting up Grub, unmount the volume and let's install some operating systems! Installing Slax and BackTrackThe procedure for installing Slax and BackTrack is the same for both distributions, you just have to replace the devices and ISO-images! sudo mount /dev/sdf5 /mnt sudo cp -a /media/tmp/* /mnt Installing BartPENow we need to switch to Windows. Grab a copy of PEBuilder and extract it somewhere.We need to make our Windows-partition bootable! Therefore, we first format the partition accordingly: Start - Run - "cmd" and enter: format F: /fs:fat /u /v:usb /backup C:\pebuilder\plugin\peinst\mkbt.exe -x -l=BartPE "C:\pebuilder\pe2usb.bin" F: Next, we need to extract our BartPE ISO image onto the disk and apply some changes! I mounted the ISO in Daemon-Tools and used PeToUsb to copy over the files. Be sure to NOT format your device using PeToUsb, but to simply select "Copy Files"! Now you should be able to boot from you stick and have a triple-boot environment! If something goes wrong, don't worry, I had to re-format my stick at least 10 times until BartPE was working! |
| Last Updated on Tuesday, 02 December 2008 10:54 |