Re: lilo in potato, and the 1024 cylinder issue
The current potato version of lilo (21.4.2-1) already does support
booting from beyond 1024 cylinders. In order to boot from beyond 1024,
you need to use "lba32" in /etc/lilo.conf as stated below in an excerpt
from the changelog.gz file:
Changes from version 21-3 to 21-4 (12-Apr-2000) -- John Coffman
Boot loader
-----------
- bugfix in 'read.S' that disabled the combination 'linear' with
'compact' ( '-l' and '-c' together).
- fixed numeric convesions; kernel accepts octal, decimal, and hex,
so
octal is now recognized by the boot loader.
- bugfix patch where ES segment prefix was ommitted (RHL
'second.patch')
- bugfix for compilation with 'LARGE_EBDA' option which caused
command
line passed to the kernel to be truncated at 78 characters
Map installer
-------------
- RHL6.2 loopdev updates added
Changes from version 21 to 21-3 (24-FEB-2000) -- John Coffman
----------------------------- <johninsd@san.rr.com>
Boot loader
-----------
- will boot from disks up to 2048Gb in size, as long as the BIOS
allows
the Enhanced BIOS calls for 32-bit sector addressing using packet
calls.
- checks if BIOS supports packet calls (int 0x13, AH=0x42), and uses
these calls if 'lba32' was specified. Otherwise, it uses
the C:H:S addressing scheme of the original IBM-PC BIOS.
- the disk read routine is separated into its own source file,
"read.S",
which is included in the first-stage, and second-stage loader
codes.
The first stage loader uses a very stripped down read routine,
since it
only deals in single sector transfers.
- if BIOS does not support 32-bit packet calls, and the cylinder
address
overflows when the 32-bit address is converted to C:H:S, then a
"9f"
error code is issued.
Tom
Jim Breton wrote:
>
> Does anyone know the likelihood of getting the version of lilo which
> supports booting from above the 1024th cylinder into potato?
>
> >From /usr/doc/lilo/changelog.Debian.gz:
>
> lilo (1:21.3-3) unstable; urgency=HIGH
>
> * This version supports booting from cylinders above 1024.
> (Been in unstable for 3 weeks, and I got 0 complaints about it, so
> I think it's definatly worth to include it in potato).
>
> -- Vincent Renardias <vincent@debian.org> Sat, 25 Mar 2000 13:57:10
> +0100
>
> My particular problem is the typical one. However, there's something I
> don't understand. I downloaded the lilo source for version 21.4.3 which
> supposedly supports this operation on "modern" drives/BIOSes... compiled
> it, and tried to run it on my new machine which is running an Athlon 750
> on an Asus K7M, with a Maxtor 7200 RPM ATA66 30 GB drive... and the BIOS
> is dated Dec. 99 IIRC. Shouldn't this be sufficiently recent to allow
> me to boot from >1024?
>
> I want to set up a 10GB FAT32 partition for Win98 on hda1, and have my
> linux and swap partitions as hda2 and hda3. But when I tried this --
> even with the new lilo -- same old error message. Anyone have any idea
> at all how to make this work with Lilo?
>
> Changing the partitioning scheme is really not an option (long story) so
> afaict my choices are:
>
> - loadlin (works fine now but should Windows ever become unbootable for
> any reason... I'd be screwed ;) )
>
> - set up GRUB, which, if I am correct, will not have this problem (am I
> right?)
>
> - figure out wtf I am doing wrong with Lilo!
>
> Thank you for any advice.
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: