Re: "root=LABEL=/" not valid without initrd.img

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 03, 2003 at 02:27:41PM -0500, Robert P. J. Day wrote:
>   ok, i've managed to lose why the above doesn't work, but
> can someone explain why, if i decide to recompile my kernel
> to build ext3 support directly in, i can no longer refer to
> my root partition with "LABEL=/", but *must* use the special
> device file name?

Because in the case of initrd, your root partition is mounted
via "mount" and then pivot_root is used to pivot the tree
around the mount point, so that the initrd lands in /initrd
(which subsequently is unmounted and discarded).
 
When you build the filesystem into the kernel, the kernel does
the mount, and it doesn't understand anything about labels.

Regards,

   Billl Rugolsky






[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux