[syslinux] pxeboot to runlevel 4

Jim Cromie jcromie at divsol.com
Fri Apr 15 09:40:27 PDT 2005


Klaus Franken wrote:

>Am Donnerstag, 14. April 2005 19:55 schrieb Jim Cromie:
>
>  
>
>>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:eth
>>0 panic=5 initrd=initrd-2.6.11-r10c2-soekris-v1.img 4
>>
>>
>>    
>>
>Check ´cat /proc/cmdline´.
>Maybe your append line is shorten.
>Try to set the "4" earlier in the append line.
>  
>
soekris:/proc# wc cmdline
1 7 252 cmdline

hmm.   252 is very close to the limit - 255 IIRC.  
So I tried with another stanza, 244 - plenty of room there, at least for 
a ' 4 '
pxelinux-3.07 behaves the same.

tried it on 2.06, where it worked - after I commented out the menu-stuff.
retested on 3.07, 3.08-p7,  it works w/o menuing.

So it looks like simple-menu is at fault here, does this make sense ?





More information about the Syslinux mailing list