Re: grub

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

 



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

-- 
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux