Re: Device Numbers, LILO

H. Peter Anvin (hpa@transmeta.com)
Tue, 15 May 2001 14:20:10 -0700


Tim Fletcher wrote:
>
> > It's in, but for some strange reason you have to ask for it explicitly
> > with the "lba32" option.
>
> Because the 32bit bios calls lilo uses in lba32 mode can cause problems
> with broken or old bios's hence is defaults to a safe option, and if you
> can't boot without it (over 1023 cylinders) then you turn it on at your
> own risk.
>
> I know this from the experiance of breaking lilo on my workstation :)
>

The problem is that LILO tries one or the other, instead of dynamically
using whichever one it needs. Heck, you may not be able to make that
decision until boot time anyway! You can then either always try LBA
calls and see if they are available, or default to CHS calls unless
cylinder > 1023.

LILO tries to do *way* too much at install time. The fact that you have
to specify "linear" explicitly is a joke -- there is no excuse for
!linear.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/