grub
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Fri Feb 27 15:31:42 UTC 2009
Patrick Dupre wrote:
> Hello,
>
> I have 2 systems (identical) on 2 different disks:
> THis is my /etc/grub.conf
> boot=/dev/sda
> title Fedora (2.6.23.17-88.fc7)
> root (hd0,7)
> kernel /boot/vmlinuz-2.6.23.17-88.fc7 ro root=/dev/sda8 rhgb
> quiet selinux=0
> initrd /boot/initrd-2.6.23.17-88.fc7.img
>
> title Fedora (2.6.23.17-88.fc7 new)
> root (hd1,4)
> kernel /boot/vmlinuz-2.6.23.17-88.fc7 ro root=/dev/sdb5 rhgb
> quiet selinux=0
> initrd /boot/initrd-2.6.23.17-88.fc7.img
>
>
> I can easily boot on /dev/sda8, but not on /dev/sdb5, However, if I do:
>
> root (hd0,7)
> kernel /boot/vmlinuz-2.6.23.17-88.fc7 ro root=/dev/sdb5 rhgb
> quiet selinux=0
> initrd /boot/initrd-2.6.23.17-88.fc7.img
>
> then I can boot on /dev/sdb5
>
The thing you have to remember is that the "root (hdx,x)" option is
a Grub option, not a kernel option. It tells Grub where to find the
kernel and initrd files. If there are both in /dev/sda8, then you
need to use root (hd0,7) for both. If the kernel and initrd for the
new install of f7 are in /dev/sdb5, then you can use root (hd1,4).
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090227/e27594e7/attachment-0001.bin
More information about the users
mailing list