Greetings,
I installed Red Hat Linux
8.0 straight out of the box, with kernel 2.4.18-14.
The grub config file entry
for that kernel specifies the kernel option `root=LABEL=/' and I
found the same LABEL=/
'thingees' back in /ect/fstab :
LABEL=/
/
ext3 defaults 1
1
LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/usr /usr ext3 defaults 1 2 LABEL=/var /var ext3 defaults 1 2 /dev/hda7 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 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.
My more specific question
is the followin:
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
Please append correct
"root=" option
Kernel panic: VFS: Unable
to mount root fs on 00:00
What is happening here and
how can I correct this?
I tried editing (during
boot) the grub entry and replace the LABEL=/ with /dev/hda4, (which I know is my
root partition)
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.
I AM a true kernel newbie
.. I did search the faq's and other places, but I'm kinda stuck.
Why would all this work for
2.4.18-14 and not for 2.4.20? Can anyone help ?
Many thanks...
Paul
Claessen
|