[Novalug] VDQ Grub (cleverness, wages of)
Ed T. Toton III
bones at necrobones.net
Mon Jan 15 13:18:15 EST 2007
Thus spake Beartooth:
> What I now have is this :
>
> title CentOS (2.6.9-42.0.3.EL)
> root (hd0,0)
> kernel /vmlinuz-2.6.9-42.0.3.EL ro root=LABEL=/
> initrd /initrd-2.6.9-42.0.3.EL.img
> title CentOS-4 i386 (2.6.9-42.EL)
> root (hd0,0)
> kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/
> initrd /initrd-2.6.9-42.EL.img
> title Fedora Core (2.6.18-1.2869.fc6)
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.18-1.2869.fc6 ro root=LABEL=/
> initrd /boot/initrd-2.6.18-1.2869.fc6.img
> [root at localhost btth]#
>
> What am I messing up here?? (I've tried hd0,4 and a few others as
> FC root.)
My guess is the fact that you're trying to pass both OS's a "label" based
name for the partition to use as the root filesystem. If you have more
than one labeled as "/", chances are both OSes will only see the first
one. In this instance I'd change the labels (with e2label) and update grub
and the fstabs in both to match, or otherwise go with the raw device names
for the partitions in all those places.
It looks like CentOS is on /dev/hda1 and FC is on /dev/hdb1. Might be best
to call them by those names.
------------------------------------------------------------------
- Ed T. Toton III, RHCE --|-- www.necrobones.com -- ed.toton.org -
------------------------------------------------------------------
"All right, let's not panic. I'll make the money by selling one
of my livers. I can get by with one."
-- Homer Simpson
More information about the Novalug
mailing list