[syslinux] global APPEND vs initrd= override
Jim Cromie
jcromie at divsol.com
Sat Sep 11 14:14:40 PDT 2004
folks,
Im finding that using a config like this:
SERIAL 0 19200
#IPAPPEND 2
PROMPT 1
TIMEOUT 100
IMPLICIT 0
APPEND console=ttyS0,19200n81 root=/dev/nfs
nfsaddrs=10.10.10.100:10.10.10.2:10.10.10.2:255.255.255.0:soekris:eth0
nfsroot=10.10.10.2:/nfshost/truck panic=15
LABEL deb268
KERNEL vmlinuz-2.6.8-1-386 initrd=initrd.img-2.6.8-1-386 panic=10
LABEL deb268-ram
KERNEL vmlinuz-2.6.8-1-386
APPEND console=ttyS0,19200n81 initrd=initrd.img-2.6.8-1-386
root=/dev/ram0
nfsaddrs=10.10.10.100:10.10.10.2:10.10.10.2:255.255.255.0:soekris:eth0
nfsroot=10.10.10.2:/nfshost/truck panic=10
the first Label fails, the 2nd one works.
In the latter, I can see initrd .............., ie initrd download is
happening,
in the former it is not.
IOW, the label-specific arguments are lost. Its not just an initrd=
find error,
cuz the panic happens in 15 (from global), not 10 (from label). Its
also not
due to IPAPPEND, cuz I commented that out as a test.
working:
Kernel command line: console=ttyS0,19200n81
initrd=initrd.img-2.6.8-1-386 root=/dev/ram0
nfsaddrs=10.10.10.100:10.10.10.2:10.10.10.2:255.255.255.0:soekris:eth0
nfsroot=10.10.10.2:/nfshost/truck panic=10
BOOT_IMAGE=vmlinuz-2.6.8-1-386 BOOTIF=01-00-00-24-c2-46-c8
failing - no initrd download
Kernel command line: console=ttyS0,19200n81 root=/dev/nfs
nfsaddrs=10.10.10.100:10.10.10.2:10.10.10.2:255.255.255.0:soekris:eth0
nfsroot=10.10.10.2:/nfshost/truck panic=15
BOOT_IMAGE=vmlinuz-2.6.8-1-386 BOOTIF=01-00-00-24-c2-46-c8
Im not much of an assembler, im afraid..
I hope this is a- easy to fix, b- my mistake.
Its obviously easy to work around.
OT - is there a 'standard' way of providing options to /linuxrc in an
initrd file ?
Forex: /linuxrc INITRD_OPTS=foobar
tia
More information about the Syslinux
mailing list