From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.18 i686) Description of problem: The command bootloader --location=mbr --useLilo --lba32 in a kickstart file causes the installation to terminate, with the error message ending in: [ 'append=', 'location=', 'useLilo', '--lba32', File "/usr/llib/anaconda/isys.py", line 301, in getopt return apply(_isys.getopt, args) TypeError: bad argument --lba32: unknown option Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Put the above bootloader line in ones ks.cfg Actual Results: Install fails. Expected Results: Install should not fail because of that bootloader command, per the RH 7.2 ``Kickstart Options'' documentation. Additional info: We Google for this and find a suggestion to include --nolinear with the above listed arguments to bootloader, but this fails identically. We have tried reordering the arguments various ways but all result in identical failure. Turns out, one can do bootloader --location=mbr --useLilo lba32 and the lba32 option passes correctly and install succeeds. Evidently, the ``--'' do not get stripped prior to lba32 option.
Using bootloader --location=mbr --useLilo lba32 does get one through a kickstart installation but the default ``linear'' appears in /etc/lilo.conf.
Fixed in the anaconda update disk released the middle of last month *** This bug has been marked as a duplicate of 53923 ***
bootloader --location=mbr --useLilo lba32 The above option will not help you to solve this problem. We can add the lba32 option in the Post Install script. Like this %post echo "lba32" > /tmp/lilo.conf grep -v "linear" /etc/lilo.conf >> /tmp/lilo.conf mv /tmp/lilo.conf /etc/lilo.conf /sbin/lilo # Remaining post install task :)