LABEL in grub /boot/grub/menu.lst and /etc/fstab
- To: firstname.lastname@example.org
- Subject: LABEL in grub /boot/grub/menu.lst and /etc/fstab
- From: GeorgeBaker <email@example.com>
- Date: Mon, 26 Feb 2007 19:10:02 +0100 (CET)
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <45BFA65D.email@example.com>
- References: <45BFA65D.firstname.lastname@example.org>
I'm trying to create a cluster configuration. I've loaded sarge and it boots no problem, However, when I install the openssi, for some reason the /dev/hda becomes /dev/hdc and the boot dies looking for the correct hardware. I've read the comment from Bob McGowan about using labels on the partitions, so I went back and reloaded sarge and changed the fstab to the LABEL configuration. When I reboot everything works fine. However, when I then try changing the /boot/grub/menu.lst to use the LABEL configuration, like so:
kernel /boot/vmlinuz-2.4.27-3-386 root=LABEL=root ro
and yes the label on the / partition is root
the boot dies with:
Journalled Block Device driver loaded
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
kernel panic: Attempted to kill init!
If I change LABEL=root to /dev/hda1 then it boots fine.
Is ther a bug with the version of sarge I'm using, or am I not using the LABEL configuration correctly?