Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 77772

Summary: ks fails to dedect lba
Product: [Retired] Red Hat Linux Reporter: Gerald Teschl <gt>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
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: 2003-01-03 05:24:29 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 Gerald Teschl 2002-11-13 13:10:57 UTC
I use ks and lilo (since grub does not work for us):

# bootloader
bootloader --location mbr --useLilo

However, anaconda always writes "linear" instead of "lba32" to
lilo.conf. Moreover, lilo detects that "linear" is nonsense and
fails to install. However, anaconda seems to completely ingore
these errors and finishes "normally" leaving a system without
bootmanager.

Comment 1 Jeremy Katz 2002-11-15 00:06:00 UTC
What is the output of lilo with linear in the config file?  Unfortunately, lba32
can't always be reliably detected (hence why there's the forcelba option)

Comment 2 Gerald Teschl 2002-11-16 16:19:29 UTC
The lilo output is:

Fatal: sector 68686864 too large for linear mode (try 'lba32' instead)

and should be easy to dedect;-)




Comment 3 Jeremy Katz 2002-11-26 22:13:00 UTC
Right, but that doesn't mean that lba32 will work.  Does it actually boot if you
change it to lba32?  Also, what is the output of the following run as root with
the booty package installed?

PYTHONPATH=/usr/lib/booty/ python  -c "import edd;print edd.detect()"

Comment 4 Gerald Teschl 2002-11-27 16:54:24 UTC
Sure, but since you can't even install the boot loader with linear, what
can you loose;-)

Yes lba32 does work (this is brand new hardware with a 40G hard drive).

The output is "0".

Comment 5 Jeremy Katz 2002-12-11 22:42:38 UTC
(also, note that you can force lba32 with --lba32 on your boot loader line... 
but on new hardware, it really should be detected properly)

Comment 6 Jeremy Katz 2003-01-03 05:24:29 UTC
It looks like the edd detection code is segfaulting on most of my machines (it
works on the thinkpad, but that's it).  The best way to get working LBA32 is
going to be to either a) explicitly specify that you need it in kickstart or b)
use grub which will detect if you can use lba32 at boot time and thus not be
constrained by the kernel trying to keep people from hacking systems via the
vm86 stuff.

Comment 7 Gerald Teschl 2003-01-03 09:28:02 UTC
I understand, that this is low priority for you, but if
lilo dedects that linear is wrong and lba32 should be used,
then where is the problem. Parsing the output for the above
error if lilo fails and trying again with lba32 instead
should be straight forward.

As I already mentioned, grub does not work for us. We absolutely
need "lilo -R" and as long as grub does not offer the equivalent,
it is no option for us.