The documentation on this is out there.. you just have to look pretty hard.
I finally found what I needed here http://www.wonkity.com/~wblock/docs/html/pxe.html
BE CAREFUL NOT TO OVERWRITE THE MBR OR BOOTLOADER ON YOUR PRIMARY BOOT DISK! BACK THEM UP BEFORE YOU BEGIN THIS PROCESS!
Here is a detailed example of how to make a bootable USB disk:
What you will need:
- A USB disk large enough to hold the .iso image (which may be compressed using gzip or zip)
- A device which has a BIOS capable of booting from USB. (It is possible to boot from another disk and chainload to the USB disk but that is beyond the scope of this tutorial.)
- A Linux operating system (I am using Fedora 16 .. Debian based distros' filesystem is different. Things like package managers and the location of memdisk and vesamenu.c32 will differ.)
- The ISO image you wish to boot
- Bash (or your favorite shell)
- Gedit (or your favorite text editor - I'm not sure if both <cr> and <lf> are acceptable as I do not use Windows)
- Memdisk (included with Syslinux)
- Vesamenu.c32 (included with Syslinux)
- Fdisk (optional)
Open a shell (i.e. Bash)
Make sure you have the packages required and that they are up to date. Use one of the following:
yum list installed | less
Note: Debian based distros use apt-get as the default package manager. Also you may want to check out Yum Extender if you are using Fedora
yum list installed | grep syslinux
yum list installed | grep etc.
Plug in your USB disk and determine which device node it is by issuing the following command:
or by issuing the following command after you plug in your USB disk:
Unmount the usb disk using the following command:
Make a FAT filesystem on the partition you wish to boot from using the following command:
Install a MBR (master boot record) to your USB disk if you don't already have one or the one you have is not working properly. Use the following command:
sudo syslinux -m /dev/sdb
Install Syslinux to the partition you wish to boot from by issuing the following command:
Note: if your device node happens to be /dev/sdc2 you would use the following command:
sudo syslinux -i /dev/sdb1
sudo parted /dev/sdb set 1 boot on
sudo parted /dev/sdc set 2 boot on
Mount the USB disk:
mount /dev/sdb1 /media/usb_disk
Now copy the files you need to the root directory (or the directory you chose to install to) of the partition which has Syslinux installed on it.
Note: The location of these files is different on Debian based systems. I am using an Enterprise style filesystem. On Debian based distros the location will be something like /usr/lib/syslinux/ but I'm not 100% positive.
cp -v /user/share/syslinux/memdisk /media/usb_disk
cp -v /user/share/syslinux/vesamenu.c32 /media/usb_disk
Copy the iso image to a directory on your USB disk using the command:
cp /user/username/Downloads/distro.iso /media/usb_disk/distro/
Create a file named syslinux.cfg in the directory you installed Syslinux to. Use the following command:
Open syslinux.cfg with your favorite text editor and edit it to look something like this:
Note: Versions of Syslinux prior to 4.04 also needed the raw parameter. Syslinux can handle disk images that have been compressed with zip or gzip. The smaller files load faster and CRC checks provide data integrity. Just compress the image and use the compressed image filename in the menu entry.
APPEND iso raw
APPEND iso raw
^^ This last note is a direct quote from the webpage which was linked to at the start of this tutorial. Nothing else has been copied directly. I can not begin to list all of the sites that were referenced.
HOPE THIS WAS USEFUL!
HAVE A LOOK AT THE THINGS I TRIED GETTING THIS TO WORK!
NOTE: I wrote this from memory & I will update it tomorrow while following my own tutorial.