[syslinux] Failed to boot USB drive via syslinux if kernel is not in /

Steven Shiau steven at nchc.org.tw
Tue Mar 4 07:18:12 PST 2008


Hi,
Sorry for asking this again if this have been asked. I searched this
mailing list but I can not find the confirmed answer.
We tried to use syslinux to boot USB flash drive. The problem is, if we
put the kernel and initrd in /casper directory, syslinux failed to boot,
it showed us:
------------------
Booting error message:
SYSLINUX 3.11 Debian-2007-03-12 EBIOS
boot: /casper/vmlinuz1
Could not find kernel image: /casper/.lin
------------------
I am 100% sure that /casper/vmlinuz1 exists.
The syslinux.cfg is:
------------------
label live
kernel /casper/vmlinuz1
append initrd=/casper/initrd1.img boot=casper  username=casper
hostname=debian vga=788 ip=frommedia
------------------
On the other hand, if we move /casper/vmlinuz1 to /vmlinuz, and change
the syslinux.cfg as:
------------------
label live
kernel vmlinuz1
append initrd=initrd1.img boot=casper  username=casper hostname=debian
vga=788 ip=frommedia
------------------
then the USB flash drive boots successfully. Is that true that we can
only put kernel in the root directory ?

Thanks in advance.
-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A




More information about the Syslinux mailing list