[syslinux] syslinux and booting CD's
H. Peter Anvin
hpa at zytor.com
Thu Feb 13 08:12:48 PST 2003
jason wrote:
> just to verify (before I burn more coasters), it it not working because
> of file location.
> I MUST have the isolinux files and kernel and config in a dir
> called isolinux off my /home/jason/mp3 ??
> which would be /home/jason/mp3/isolinux
>
> I originally did that but the cd didnt work. With that being said, should
> my isolinux.cfg file need to reflect that directory?
> i.e. use
> label linux-jason
> kernel /isolinux/vmlinuz
>
You can, but you don't have to; you can specify it either as:
label linux-jason
kernel vmlinuz
or what you have above. However,
label linux-jason
kernel /vmlinuz
... will of course not work (that goes to the root directory.)
The rule is that you have to have *all* your files (isolinux, kernel,
and isolinux.cfg) either in /boot/isolinux, /isolinux, or / of the CD
(as you describe above.)
Note that your original message had:
> Here is my mkisofs command
> mkisofs -o /home/jason/burnme.iso -b isolinux/isolinux.bin -c
^^^^^^^^- isolinux directory
> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
> /home/jason/mp3s (all on one line)
>
> and my dir looks like this
>
> [jason at zim mp3s]$ pwd
> /home/jason/mp3s
> [jason at zim mp3s]$ ls -al
> total 1128
> drwxr-xr-x 4 jason jason 4096 Feb 12 22:23 ./
> drwxr-xr-x 59 jason jason 4096 Feb 13 09:37 ../
> -rwxr-xr-x 1 root root 186 Feb 12 22:23 boot.msg*
> drwxr-xr-x 2 jason jason 4096 Jan 28 12:49 disk1/
> drwxr-xr-x 2 jason jason 4096 Jan 28 13:30 disk2/
> -rwxr-xr-x 1 root root 149767 Feb 12 22:23 initrd.img*
> -rwxr-xr-x 1 root root 9404 Feb 12 22:24 isolinux.bin*
> -r-xr-xr-x 1 root root 7060 Feb 12 22:23 ldlinux.sys*
> -rwxr-xr-x 1 root root 412 Feb 12 22:23 syslinux.cfg*
> -rwxr-xr-x 1 root root 122 Feb 12 22:23 syslinux.cfg.old*
> -rwxr-xr-x 1 root root 944611 Feb 12 22:23 vmlinuz*
> (note, the isolinux.bin is directly from isolinux.)
>
No isolinux directory, and the config is called syslinux.cfg instead of
isolinux.cfg.
-hpa
More information about the Syslinux
mailing list