Re: Querying the bios from booted linux kernel?

From: Matt Domsch
Date: Fri Jan 04 2008 - 23:18:58 EST


On Fri, Jan 04, 2008 at 07:13:53PM -0500, Gene Heskett wrote:
> Greetings;
>
> Is there a utility that can query the motherboard bios and get a list of the
> drives it can see?
>
> Likewise, for the bios extension contained on a pny sata card with a Silicon
> Image chipset on it?
>
> I'm trying to cobble up a way for linux to boot from the drive on this sata
> card, so that the F8 install is completely separated from the FC6 install on
> a pata drive connected to the mainboard.

parted and fdisk both write into the MBR signature space, so your
disks should have unique MBR values in them.

Then, F8 anaconda / kickstart can be told on which disk to write its
bits. http://linux.dell.com/installermagic.shtml describes this.


I've given up trusting any BIOS to get EDD 3.0 device paths right,
there are just too many broken implementations out there, and
seemingly no real desire on the part of the component vendors to fix
it. MBR signatures work pretty well - Dell uses this method for every
one of our factory installed Linux systems we ship, so I _know_ it works.


--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/