lkml.org 
[lkml]   [2006]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: root=LABEL= problem [Was: Re: Linux Issue]
From
Date
On Iau, 2006-02-02 at 09:19 +0100, J.A. Magallon wrote:
> > it's 100% done in the initrd.
>
> Isn't this a matter of the bootloader ?


The boot loader knows very little and the BIOS may not even be able to
drive some of the hardware to go looking for volume labels. The sequence
used is that the initrd is the root file system and contains application
code run very early on in order to find out where the 'real' root fs is
by label. Having mounted that it can then pivot_root() itself into the
final desired configuration.

All userspace, and all the initrd building is done by a tool called
mkinitrd.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-02 15:42    [W:0.045 / U:1.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site