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

Re: grub



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!

Attachment: signature.asc
Description: OpenPGP digital signature


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