Re: Querying the bios from booted linux kernel?

From: H. Peter Anvin
Date: Fri Jan 04 2008 - 19:48:10 EST


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.


No, but if you configure in EDD support (and don't disable it), then the kernel will do so on your behalf during early boot.

Unfortunately, it is not trivial to produce a mapping from EDD data to real-life disks. Your best bet is if the disks have an MBR signature, in which case the EDD code will capture those; you can then correlate them to real disks.

-hpa
--
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/