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

grub



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 york ac uk
==========================================================================
_______________________________________________

York mailing list

York lists lug org uk

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


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