Saturday, September 17, 2011


I got stuck today. How do I run an(y) ISO image from a pen drive?? I had 2-3 usb thumb drives lying around but no blank CD. After a few hours of search on the internet, finally managed to run not just one but four different ISO images from my thumb drive via a menu! To cut the long story short, this is what I did:
  
1.     Took a clean thumb drive (quick formatted it with Fat32 option).
2.     Fired BootMyISO application, selected my thumbdrive and clicked on next to install it on the thumb drive.
3.     I browsed the thumb drive and found the following 4 files:
grub, memtest86+-4.00, menu and syslinux.cfg
4.     I copied the SeaToolsDOS223ALL.ISO file (I wanted to boot from this ISO) to the thumb drive.
5.     Opened the original menu file and found the following structure:
default 0
timeout 30
color cyan/blue white/blue
foreground ffffff
background 003f7d

title Memtest86+
find --set-root /memtest86+-4.00.iso
map --mem /memtest86+-4.00.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

# title Parted Magic 4.5 ISO Boot
# find --set-root /pmagic-4.5.iso
# map /pmagic-4.5.iso (hd32)
# map --hook
# root (hd32)
# chainloader (hd32)

# title Test ISO
# find --set-root /testname.iso
# map /testname.iso (hd32)
# map --hook
# root (hd32)
# chainloader (hd32)

6.     I updated the above menu file to suit the ISO that I had added and the final content looked like the following:
#First 5 lines from the original menu file
default 0
timeout 30
color cyan/blue white/blue
foreground ffffff
background 003f7d

#Last 6 lines from the original menu file with changes
title Sea Tools DOS
find --set-root /SeaToolsDOS223ALL.iso
map /SeaToolsDOS223ALL.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

# Template for future use to add more ISOs
# title Test ISO
# find --set-root /testname.iso
# map /testname.iso (hd32)
# map --hook
# root (hd32)
# chainloader (hd32)

7.     Saved the menu file.
8.    That’s it folks! Now just reboot the PC and …

Tools needed: BootMyISO (Open source. Although now discontinued, copies can be found all over the internet including the link below)

Special thanks: Dan Fischbach's link for showing me the way.