Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 77772 - ks fails to dedect lba
Summary: ks fails to dedect lba
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-13 13:10 UTC by Gerald Teschl
Modified: 2007-04-18 16:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-01-03 05:24:29 UTC

Attachments (Terms of Use)

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

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.

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