Bug 56784 - --lba32 option fails in kickstart
Summary: --lba32 option fails in kickstart
Keywords:
Status: CLOSED DUPLICATE of bug 53923
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-27 17:03 UTC by Jeff L. Smith
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-11-27 17:04:04 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.