Guide How To boot from your USB Storage Device

Status
Not open for further replies.
Hi guys, after i got my Removable USB-Hard Disk i wanted to boot from it.
(It is a Seagate 80 Gb with a ViPower case i got from Chandni Chowk.)

Finally got it working. Here's how. I will try to keep it as short as possible.
and yes... this in written considering that newbies might want to boot from USB.
These are the things I used. It should work for pendrives also and should work for any other Linux also.

My 40Gb USB Hard Disk

Slax 5.1.0
SLAX download page

Syslinux Utility
http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.11.zip
First I made a 1Gb FAT16 partition on my HDD. Let us say this partition is X:\
Then Set it as active.
Right click My Computer > Manage > Disk management.
(you can make the partition here and set it active)

Now i extract the SLAX iso image in the newly created X:\ using Winrar
then copy the files "vmlinuz" and "initrd.gz" which are in the X:\boot directory to X:\
which means copy them one level up

Then I open the file isolinux.cfg in wordpad and remove wherever there in boot/ ahead of vmlinuz and initrd
so wherever there is "boot/vmlinuz" it becomes "vmlinuz"
and wherever there is "boot/initrd" it becomes "initrd"
(u can use the replace all in wordpad to do this instead of looking for.... in case u miss anything)
Save the file as syslinux.cfg

Extract the syslinux zip file somewhere
then open the command prompt
cd to the syslinux directory
cd once again to "win32" dorectory
then run
...win32:\> syslinux.exe X: -f

Reboot and Enter the BIOS...
(usually pressing [del] or [F1] at the time of boot)
Set USB device as primary boot device.
Reebot and if everything was done properly it should boot from USB
This is assuming that ur BIOS supports booting from USB devices.
 
  • Like
Reactions: 2 people
Status
Not open for further replies.