Bug 56784

Summary: --lba32 option fails in kickstart
Product: [Retired] Red Hat Linux Reporter: Jeff L. Smith <jeff>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-27 17:04:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff L. Smith 2001-11-27 17:03:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686)

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Include the following line in a kickstart file:

bootloader --useLilo --linear --lba32 --location=mbr


2.Try installing using kickstart from the boot floppy
	

Actual Results:  Probing for mouse type:   Generic - 3 Button Mouse (PS/2)
             Traceback (innermost last):
               File "/usr/bin/anaconda", line 589, in ?
                 instClass.setInstallData(id)
               File "/usr/lib/anaconda/kickstart.py", line 835, in
setInstallData
                 self.readKickstart(id, self.file)
               File "/usr/lib/anaconda/kickstart.py", line 557, in
readKickstart
                 handlers[args[0]](id, args[1:])
               File "/usr/lib/anaconda/kickstart.py", line 219, in
doBootloader
                 [ 'append=', 'location=', 'useLilo', '--lba32',
               File "/usr/lib/anaconda/isys.py", line 301, in getopt
                 return apply(_isys.getopt, args)
             TypeError: bad argument --lba32: unknown option

             install exited abnormally 

Expected Results:  include the lba32 option in the lilo.conf file

Additional info:

In /usr/lib/anaconda/kickstart.py, the option parsing code is:

                     (args, extra) = isys.getopt(args, '',
                             [ 'append=', 'location=', 'useLilo',
'--lba32',
                               'password=', 'md5pass=', 'linear',
'nolinear'])

             I'm not a python programmer, but It seems very suspicious that
lba32 is the
             only
             option with "--".  I tried using the command:

             bootloader --useLilo --linear ----lba32 --location=mbr

             and that did not crash, but neither did it add the
             lba32 option to the lilo.conf file

There is additional (probably useless) info in Service Request: 195479

Comment 1 Jeremy Katz 2001-11-28 20:58:13 UTC
Unfortunately reported in Roswell too late for a fix in 7.2

*** This bug has been marked as a duplicate of 53923 ***