ISOUSB

 

Secure digital card usb-adapter

Secure digital card usb-adapter (Photo credit: Wikipedia)

 

Hi future me,
Sometimes you’re going to find yourself needing to boot some very archaic CDs. But CD drives might not exist in the future, so you’re stuck with USB to shim the ISO. (I think that first sentence should get all of the Google hits, but lets include some more buzzwords such as LiveCD, LiveUSB, syslinux etc.)

 


What you need is a syslinux USB drive (SD cards work too), and make use of the memdisk “kernel”, which really isn’t a kernel.

 

The idea is to boot syslinux from bios/mbr, then use memdisk (provided by syslinux in /usr/share/syslinux/memdisk or ./memdisk/memdisk from built source) to boot the ISO.

 

A better option would be to follow the Gentoo LiveUSB, but we can’t always be assured that the boot process will be that simple, e.g. DOS and it’s many variants.

 

The real bit

 

Assuming that syslinux is installed on D:\ (because this is a windows guide), with a pre-existing D:\syslinux.cfg (because you followed the Gentoo guide above).

 

Place memdisk and your iso file (as an iso file, no raw writing to disk here!) in D:\ too.

 

Add this entry to syslinux.cfg

 

label myisofile
  kernel memdisk
  initrd myisofile.iso
  append iso

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s