LABEL in grub /boot/grub/menu.lst and /etc/fstab
- To: debian-user@lists.debian.org
- Subject: LABEL in grub /boot/grub/menu.lst and /etc/fstab
- From: GeorgeBaker <gwb@gls3c.com>
- Date: Mon, 26 Feb 2007 19:10:02 +0100 (CET)
- Message-id: <listhandler=2&site=www.debianhelp.org&nid=3787&pid=8361&cid=12734&uid=2730&tid=79&50b58e588889b9dc8b8746e27e7dbaba@www.debianhelp.org>
- In-reply-to: <45BFA65D.2030900@symantec.com>
- References: <45BFA65D.2030900@symantec.com>
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?
Reply to: