Grub And Raid 1 Root Disks
I'm trying to install RedHat 7.x ( with last official patches ) on a Compaq 1850R while mirroring the root drives.
RedHat installs ok, and anaconda raids the scsi disks just fine:
-----
# fdisk -l
Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 255 2048256 fd Linux raid autodetect
/dev/sda2 256 510 2048287+ fd Linux raid autodetect
/dev/sda3 511 543 265072+ 82 Linux swap
Disk /dev/sdb: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 255 2048256 fd Linux raid autodetect
/dev/sdb2 256 510 2048287+ fd Linux raid autodetect
/dev/sdb3 511 543 265072+ 82 Linux swap
-----
# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] sda1[0]
2048192 blocks [2/2] [UU]
md1 : active raid1 sdb2[1] sda2[0]
2048192 blocks [2/2] [UU]
unused devices: <none>
-----
Now, I actually want to try to booting from each of the disks. :-)
Booting from /dev/sda works just fine. Booting from /dev/sdb yields:
"No OS found' from the BIOS.
Now, I've tried 'grub-install /dev/sdb' - this commad f**ks up the MBR on /dev/sda.
Then using the grub shell, I the tried:
-----
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 22 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd1) (hd1)1+22 p (hd1,0)/boot/grub/stage
2 /boot/grub/grub.conf"... succeeded
Done.
-----
At this point, when I boot off /dev/sdb, I simply get:
GRUB
on the console. It seems to me that grub fails to find the stage 2 files?
Grub is grub-0.90-11 btw.
Does anyone have any good ideas?
|