Bug 60762 - --lba32 option causes kickstart install to fail
Summary: --lba32 option causes kickstart install to fail
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: Michael Fulbright
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-06 04:03 UTC by G Sandine
Modified: 2007-04-18 16:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-03-06 06:01:14 UTC
Embargoed:


Attachments (Terms of Use)

Description G Sandine 2002-03-06 04:03:11 UTC
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.

Comment 1 G Sandine 2002-03-06 06:01:09 UTC
Using

bootloader --location=mbr --useLilo lba32

does get one through a kickstart installation but the default ``linear''
appears in /etc/lilo.conf.


Comment 2 Jeremy Katz 2002-03-06 16:04:26 UTC
Fixed in the anaconda update disk released the middle of last month

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

Comment 3 Bharathi S 2004-12-17 11:07:19 UTC
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 :)


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