Bernhard Patsch
2005-Sep-10 19:32 UTC
[syslinux] colon in syslinux.cfg leads to "Unknown keyword"
hi, sorry for bothering the list but since I didn't find anything in the documentation or archives I would be grateful for your help. For a customized USB installer (based on redhat anaconda) I wanted to pass an kernel parameter which contains a colon. This leads twice to the error message "Unknown keyword in syslinux.cfg." Quoting the append string using ' or " wasn't successful. The used syslinux version is 3.11 for windows. I only have access to an old redhat machine where I got the same error using syslinux 1.52 (yeah, quite old) Any ideas on how to quote the append string or workarounds? kind regards, Bernhard Patsch -------- syslinux.cfg working -------- default usbinst prompt 1 timeout 0 display boot.msg F1 boot.msg F2 general.msg F3 param.msg F4 rescue.msg F7 dogcat.msg label phion kernel bzImage append ks=floppy initrd=initrd.img lang= devfs=nomount ramdisk_size=16384 vmal loc=128M label usbinst kernel bzImage append initrd=initrd.img lang= text devfs=nomount ramdisk_size=16384 vmalloc=1 28M ks=hdsda1/ks.cfg -------- end syslinux.cfg -------- -------- syslinux.cfg faulty -------- default usbinst prompt 1 timeout 0 display boot.msg F1 boot.msg F2 general.msg F3 param.msg F4 rescue.msg F7 dogcat.msg label phion kernel bzImage append ks=floppy initrd=initrd.img lang= devfs=nomount ramdisk_size=16384 vmal loc=128M label usbinst kernel bzImage append initrd=initrd.img lang= text devfs=nomount ramdisk_size=16384 vmalloc=1 28M ks=hd:sda1/ks.cfg -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse f?r Mail, Message, More +++
bpatsch at gmx.net
2005-Sep-11 10:24 UTC
[syslinux] colon in syslinux.cfg leads to "Unknown keyword"
On Sun, Sep 11, 2005 at 12:03:15AM -0500, Nazo wrote:> On 9/10/05, Bernhard Patsch <bpatsch at gmx.net> wrote: > > -------- syslinux.cfg faulty --------[...]> > label usbinst > > kernel bzImage > > append initrd=initrd.img lang= text devfs=nomount > > ramdisk_size=16384 > > vmalloc=1 > > 28M ks=hd:sda1/ks.cfg > > > > Perhaps it's just the e-mail, but, it looks to me like the part of the > append line with the colon has gotten onto a new line by itself > instead of being word-wrapped, starting with the 28M part. Have you > made certain it is all actually one line?There's just a line break in the email - the actual syslinux.cfg contains the whole append string in one line. Due to lazyness when testing the append lines I've also tried a short append line (append ks=hd:sda1/ks.cfg) getting the same error. bye, Benny
Arwin Vosselman
2005-Sep-11 11:13 UTC
[syslinux] colon in syslinux.cfg leads to "Unknown keyword"
On Sat, 10 Sep 2005 21:32:48 +0200 (MEST), Bernhard Patsch wrote:>Quoting the append string using ' or " wasn't successful.If you quote, IMO you should not quote the total append string but only the content of the option, like this: ks="hd:sda1/ks.cfg" -- HTH, Regards. Arwin.