[NTLUG:Discuss] fundas gone for a toss!!
Fred James
fredjame at concentric.net
Thu Aug 1 06:21:30 CDT 2002
Assuming we are discussing a PC
- BIOS determines which device to boot from, reads the Master Boot
Record (MBR) found there, and attempts to load the "boot loader"
specified in the MBR
Assuming LILO is the boot loader specified in the MBR
- At this point LILO is loaded, and the rest depends on configuration
But - lilo.conf is only read on install, and any time "lilo" is run -
not on boot.
In short: lilo.conf is read by "lilo" and used to configure LILO, and
this process only has to happen whenever there is a change in the the
boot process (i.e., at install, or should you add/remove an OS to/from
the machine - stuff like that).
Vaidya, Harshal (Cognizant) wrote:
> Hi All,
> While recompiling the linux kernel yesterday i came across a fundamental
> problem.
> The way LILO knows which partition to mount as root is by reading the
> lilo.conf.
> When we specify the kernel to be booted the, first thing lilo does is
> mounts the root partition.
> This is specified as root = /dev/hdb10 (for example).
> What i am wondering is.. to locate /dev/hdb10 file itself... / needs to
> be mounted.. i.e. the root partition needs to be mounted before kernel can
> start reading any file on that disk.
>
> How come then lilo can locate /dev/hdb10 before / is mounted.
>
> Harshal.
>
>
> ------------------------------------------------------------------------
>
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
> If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
> Visit us at http://www.cognizant.com
>
--
"Like pruning, programming is a play on words."
--unknown
More information about the Discuss
mailing list