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

Re: LABEL in grub /boot/grub/menu.lst and /etc/fstab



GeorgeBaker wrote:

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?



I'm not familiar with cluster setup/openssi, can't help there.

Just one question, you mention that the label in the menu.lst is 'root' but in my comments, I suggested using '/root' (that is, including a leading slash).

On the off chance that there's a typo, is your label actually just the word 'root'? If so, you might want to try changing it to include the leading slash and see if that changes anything. I honestly don't know why it would/should, but ... who knows?

Bob

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: