grub

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

 



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

I try plenty of things but I have not been able to make it works properly.
When I try to make a grub-install from /dev/sdb5, I get:
Probing devices to guess BIOS drives. This may take a long time.
The file /boot/grub/stage1 not read correctly.

I check the /boot/grub/device.map (it has both! hd0 and hd1).

Still from /dev/sdb5,
If I do: grub
then: root (hd1,4)
I get:
 Filesystem type is ext2fs, partition type 0x83

find /boot/grub/stage1
gives: (hd0,7) !!!

Same if I do:
find /boot/vmlinuz-2.6.23.14-64.fc7

It only find the one on sda8 and never the one on sdb5
It does the same from both systems (loading from sda8 or sdb5)

I check both kernels are identical and at the right place.

then:
setup (hd0)
gives:
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 2: Bad file or directory type


How can I fix this grub configuration ?

thank.

--
---
==========================================================================
 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
==========================================================================
_______________________________________________

York mailing list

York@xxxxxxxxxxxxxxxx

https://mailman.lug.org.uk/mailman/listinfo/york

-- 
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