Subject: Re: new laptop drive
To: David Laight <david@l8s.co.uk>
From: Perry E. Metzger <perry@wasabisystems.com>
List: port-i386
Date: 05/26/2002 18:35:03
David Laight <david@l8s.co.uk> writes:
> On Sun, May 26, 2002 at 03:34:19PM -0400, Perry E. Metzger wrote:
> > As the author of part of our current bootloader, let me note that I
> > believe we probably do have enough space for this, but that doing the
> > check reliably might be a bit tough.
> 
> I have looked at (and fixed) some issues in the mbr_bootsel code.

It wouldn't be done in the mbr_bootsel code. That should be quite
obvious to anyone who understands how the boot blocks work.

> > > It would actually be better for the kernel to determine what
> > > the BIOS can do, and tell the bootloader.
> > 
> > Er, the kernel isn't running when the bootloader runs.
> 
> I was thinking of having 2 bootloaders, 1 for LBA BIOS and 1
> for CHS BIOS....

That's very very silly, considering that we have one that does both
right now. Why should you want to DEGRADE the system?

The question at hand is one of whether we should pass information
about the BIOS's peculiarities up to the kernel on boot. It might not
be a bad idea, all things considered.


--
Perry E. Metzger		perry@wasabisystems.com
--
NetBSD: The right OS for your embedded design. http://www.wasabisystems.com/