http://www.mepis.org/docs/en/index.php/Create_a_multiboot_CD_(or_USB_flash_drive)
I want to have a business card size CD with which I could boot multiple floppy images (I don't want to carry floppies with me because of their size, fragility, and lack of reliability). I'm posting this because someone might find it useful. Basically I want a CD that has:
First, create a folder ~/bootdisk that will hold the images. Download floppy images or rip floppies with
dd if=/dev/fd0 of=~/bootdisk/imagename
(by the way, keep "imagename" under 7 letters because of CD file system limitations).
In the ~/bootdisk folder create an "isolinux.cfg" file like this:
default 0 prompt 1 timeout 100 display message.txt label 0 localboot 0x80 label 1 kernel memdisk append initrd=reset label 2 kernel memdisk append initrd=img1 label 3 kernel memdisk append initrd=img2 label 4 kernel memdisk append initrd=puppy label 5 kernel memdisk append initrd=dsl
Explanations:
start the "puppy" and "dsl" floppy images that provide support for USB (in case the computer cannot boot directly from USB)
Again, make sure the image names have less than 7 characters.
Create "message.txt" in ~/bootdisk that contains a menu like this one:
DSL USB support
Make sure the numbers correspond with the ones in isolinux.cfg (messages.txt is not absolutely necessary, but otherwise you'd need to know the label names when you boot).
Create the iso image, run this command while in ~/bootdisk:
mkisofs -o cdproject.iso -b isolinux.bin -c boot.cat \ -no-emul-boot -boot-load-size 4 \ -boot-info-table ~/bootdisk
Burn cdproject.iso (or test it first in QEMU or VMWare if you don't want to waste a CD)
# apt-get install qemu # qemu -m 256 -cdrom cdproject.iso -boot d
By the way, this is not applicable to boot different ISO files, there are other ways to do that (for example if you want a DVD to contain multiple distros): use this howto