Re: grub

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

 



On Fri, 27 Feb 2009, Mikkel L. Ellertson wrote:

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
Hi Mikkel,

I am not sure about what you said.
Even not saying root (), grub should find the image if device.map is
correct ?
Anyway, I tried what you said by setting root (hd1,4), but stil it does
only find the image on hd0,7 !!



--
---
==========================================================================
 Patrick DUPRÉ                      |   |
 Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
 The University of York             |   |    Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |    email: pd520@xxxxxxxxxx
==========================================================================
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux