Re: What does kernel option `root=LABEL=/' do?

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

 



On Tue, Mar 25, 2003 at 05:58:07PM -0600, Paul Claessen wrote:

> found the same LABEL=/ 'thingees' back in /ect/fstab :
> 
> LABEL=/                 /                       ext3    defaults        1 1
> 
> My first question is a general one: What is this LABEL=/ all about, what does it do?
> I did quite some research, but it appears to be a secret.

It's so secret, it's documented right there in "man fstab"...

> I built kernel-2.4.20, followed all the steps for compiling and installing it.
> The installation scripts added a new entry to the grub config file with the
> same `root=LABEL=/' setting.
> 
> Everything seems okay, but when I boot that kernel I eventually get the following error (during init)
> VFS: Cannot open root device "LABEL=/" on 00:00

The mainline kernels don't have the patch to handle mount-by-label, but
the Red Hat kernels do.

> I tried editing (during boot) the grub entry and replace the LABEL=/ with /dev/hda4

This is the right thing to do.

> when I do that the system gets a whole lot further, UNTIL it needs to
> write to various files in /var: it will then complain 'no such file or
> directory' for the various files.

Sure you didn't fiddle too much with your /etc/fstab ?

john
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux