[syslinux] Boots from prompt but not from syslinux.cfg

CheeChun Kok cheech at pixelmetrix.com
Thu Jan 31 03:51:01 PST 2002


Josef Siemes wrote:
> 
> There was some problem with a trailing space at the end of the
> commandline. Maybe this hits you?
> 
> > syslinux.cfg
> > ============
> > DEFAULT dvs
> > PROMPT  1
> >
> > LABEL dvs
> > KERNEL vmlinuz
> > APPEND initrd=dvzip1.img root=/dev/ram ramdisk_size=8192
> >

You are right about the whitespace
I had vmlinuz<whitespace><newline> in the entry for KERNEL.  This caused
argv_init array in the kernel code (init/main.c) to have two entries :
"init" and '\0'.

So, if you do not have /sbin/init in your root filesystem, the kernel
will try to start /bin/sh with these two parameters and falls over.

David,
You may want to include the above in the instruction page, if it is
indeed true.

Thanks
CheeChun



More information about the Syslinux mailing list