Steven Shiau
2008-Mar-04 15:18 UTC
[syslinux] Failed to boot USB drive via syslinux if kernel is not in /
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
Bernd Blaauw
2008-Mar-04 16:18 UTC
[syslinux] Failed to boot USB drive via syslinux if kernel is not in /
Steven Shiau schreef:> 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: >Your Syslinux version is ancient it seems (3.11, with 3.62 freshly released). Somewhere inbetween directory support was added. Bernd
Geert Stappers
2008-Mar-04 16:47 UTC
[syslinux] Failed to boot USB drive via syslinux if kernel is not in /
Op 04-03-2008 om 23:18 schreef Steven Shiau:> ------------------ > Booting error message: > SYSLINUX 3.11 Debian-2007-03-12 EBIOS^^^^ <snip/>> 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 ?Recent versions, current version is 3.62, are aware of subdirecties. HtH GSt
Steven Shiau
2008-Mar-05 04:02 UTC
[syslinux] Failed to boot USB drive via syslinux if kernel is not in /
Great. My bad. Have to use syslinux 3.35 or later. Thank you, Bernd and Geert. -- 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: 9762755A Fingerprint -- A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A