[syslinux] pxeboot to runlevel 4

Jim Cromie jcromie at divsol.com
Thu Apr 14 10:55:29 PDT 2005


folks,


Im trying to boot to runlevel 4 explicitly, using this stanza: ie with a 
single 4 at end of APPEND line.

LABEL   2.6.11-r10c2-soekris-v1
  MENU LABEL    ^j.  runlevel 4  2.6.11-r10c2-soekris-v1
  # 4 MENU DEFAULT
  KERNEL        vmlinuz-2.6.11-r10c2-soekris-v1
  APPEND        console=ttyS0,19200n81 root=/dev/nfs 
nfsroot=192.168.42.1:/nfshost/foo 
nfsaddrs=192.168.42.100:192.168.42.1:192.168.42.1:255.255.255.0:soekris:eth0 
panic=5 initrd=initrd-2.6.11-r10c2-soekris-v1.img 4


This usually works for grub on my laptop, but doesnt in pxelinux 308-pre7.
I havent gone back to earlier versions, I wanted to check my 
understanding 1st.

Is a single number on APPEND line a universal way (grub, lilo, pxelinux) 
to specify a runlevel ?
I saw no mention of it in linux-*/Documentation/kernel-parameters.txt,
and it seems like an omission if it is actually true.

theres also no mention in man inittab whether 'initdefault' can be 
overridden
by kernel-command line, though I know Ive done it.

the command-line received by the kerenel is (for another similar stanza)

Kernel command line: console=ttyS0,19200n81 root=/dev/nfs 
nfsroot=192.168.42.1:/nfshost/foo 
nfsaddrs=192.168.42.100:192.168.42.1:192.168.42.1:255.255.255.0:soekris:eth0 
panic=5 initrd=initrd-2.6.10-r10c2-soekris-int-v1.img 
BOOT_IMAGE=vmlinuz-2.6.10-r10c2-soekris-int-v1

The '4' appears to be getting trashed by the BOOT_IMAGE info appended 
automatically.
I have no IPAPPEND statement in the pxe boot config

tia
jimc




More information about the Syslinux mailing list