Syslinux is a suite of tools to create bootable images of the Linux operating system on a variety of media, such as CDs and flash drives. The Syslinux tools themselves run on Linux, so you need to use a Linux computer to create -- potentially different -- Linux images. Isolinux, one of the Syslinux tools, creates an ISO file that you can later burn into a bootable Linux CD.
- Skill level:
Other People Are Reading
Things you need
- Linux image you want to boot from CD, with the appropriate directory structure
Log in to the Linux computer in text mode. For example, for Ubuntu Linux, press the "Ctrl", "Alt" and "F1" keys to bring up a text mode login prompt. Enter your user name and password.
Add the executable loader to your bootable Linux image by typing the following command:
cp /usr/lib/syslinux/isolinux.bin ~/my Image
Path "/usr/lib/syslinux/isolinux.bin" is correct for Ubuntu; replace it with the correct path to "isolinux.bin" on your distribution. Replace "~/my Image" by the path to the directory that contains the bootable image. Press "Enter."
Create a new file "~/my Image/isolinux.cfg" with a text editor, then populate it with Isolinux configuration parameters as in the following example:
label default Image
append initrd=initrd.img IP=dhcp
Save the contents of the new file and exit the text editor.
Create the bootable CD image by typing the following command:
mkisofs -o myBootableCD.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ~/my Image
Press "Enter." After a short delay, mkisofs will create a "myBootableCD.iso" file including the ISO image with the Isolinux loader.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for