Why does Koan exit with "Kernel options are too long, 255 chars exceeded"?
Issue
In the new RHNS server the kickstart URL has become much longer then the original. This brought to light a practical problem:
For isolinux the maximum length of any pathname is 255 characters. The new kickstart URL is about 85 to 95 characters. Our kickstart w.o.w. uses static ip addresses which adds about 99 characters to that line. This leaves about 61 to 71 characters to mention boot kernel, initrd file, apci settings, ramdisk size etc. etc..
From time to time installations fail on this because the line simply gets chomped.
A common isolinux.cfg would look like this:
default local
prompt 1
timeout 600
display boot.msglabel local
localboot 1label example01
kernel vmlinuz
append initrd=initrd.img ramdisk_size=131072 acpi=off ks=http://rhns.example.com/cblr/svc/op/ks/profile/rhel5u5-x86_64:1:EXAMPLE-COM ip=192.168.127.127 netmask=255.255.255.0 gateway=192.168.127.1 dns=192.168.100.55 host=example01 dc=sbl01 type=apc nokill nousbstorage ksdevice=eth0The actual string will be chomped at character 255 e.g.:
vmlinuz initrd=initrd.img ramdisk_size=131072 acpi=off ks=http://rhns.example.com/cblr/svc/op/ks/profile/rhel5u5-x86_64:1:EXAMPLE-COM ip=192.168.127.127 netmask=255.255.255.0 gateway=192.168.127.1 dns=192.168.100.55 host=example01 dc=sbl01 typeSo we "lose":
"=apc nokill nousbstorage ksdevice=eth0"
So we "lose":
"=apc nokill nousbstorage ksdevice=eth0
"
Is there a workaround for this problem?
Environment
- Red Hat Network Satellite 5.4 with koan prior to 2.0.7-12.el4sat.noarch.rpm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.