From: "H. Peter Anvin" <hpa@zytor.com>
To: Gene Heskett <gene.heskett@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Querying the bios from booted linux kernel?
Date: Fri, 04 Jan 2008 16:47:49 -0800 [thread overview]
Message-ID: <477ED3B5.7070009@zytor.com> (raw)
In-Reply-To: <200801041913.54030.gene.heskett@gmail.com>
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
next prev parent reply other threads:[~2008-01-05 0:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-05 0:13 Querying the bios from booted linux kernel? Gene Heskett
2008-01-05 0:47 ` H. Peter Anvin [this message]
2008-01-05 2:14 ` Alan Cox
2008-01-05 2:45 ` H. Peter Anvin
2008-01-05 4:18 ` Matt Domsch
2008-01-05 19:47 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=477ED3B5.7070009@zytor.com \
--to=hpa@zytor.com \
--cc=gene.heskett@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox