From: Karl Essinger <karl@essinger.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Linux and Initrd used to access disk : how does it work ?
Date: Tue, 24 May 2005 14:30:06 -0500 [thread overview]
Message-ID: <200505241430.07066.karl@essinger.com> (raw)
In-Reply-To: <200505241519.j4OFJUR24338@tag.witbe.net>
On Tuesday 24 May 2005 10:19 am, Paul Rolland wrote:
> Ok, basically, the trick is that the BIOS knows how to access the
> disk, and Linux doesn't because it doesnt use the BIOS ? Or is it
> some more subtle (though I doubt) thing in which only a part of the
> disk can be accessed by the BIOS.
>
I'm not an expert in this area, but . . . For lilo I think the boot loader
just records the physical address where the initrd image resides and loads it
directly into memory thru the bios. It doesn't need to understand the device
or filesystem -- it's just retrieving a chunk of data -- as long as the bios
understands how to read raw (real-mode) data from the device. That would be
why you have to rerun lilo after changing any boot files -- because the
addresses probably changed.
I believe grub understands filesystems but I've also had trouble using grub to
boot from devices which need module loading, i.e. USB flash drives. I don't
use grub much though.
next prev parent reply other threads:[~2005-05-24 19:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-24 13:56 Linux and Initrd used to access disk : how does it work ? Paul Rolland
2005-05-24 14:50 ` Richard B. Johnson
2005-05-24 15:19 ` Paul Rolland
2005-05-24 15:30 ` Richard B. Johnson
2005-05-24 19:30 ` Karl Essinger [this message]
2005-05-24 15:18 ` Brian Gerst
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=200505241430.07066.karl@essinger.com \
--to=karl@essinger.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