[Wlug] [Fwd: Clarify: GRUB setup on RAID1]

Brett Russ icycle@charter.net
Wed, 20 Nov 2002 12:59:41 -0500


Can anyone on this list shed some light on my question below?

Thanks,
Brett

-------- Original Message --------
Subject: Clarify: GRUB setup on RAID1
Date: Tue, 19 Nov 2002 15:34:03 -0500
From: Brett Russ <icycle@charter.net>
To: bug-grub@gnu.org

I looked through all of the archives on this list as well as google
searching for help.  I want to make sure that GRUB supports installation
on RAID1 (mirror) units.  I have seen several methods to do this:

Method 1)

device (hd0) /dev/hde
root (hd0,0)
install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000
(hd0,0)/boot/grub/menu.lst
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000
(hd0,0)/boot/grub/menu.lst

device (hd0) /dev/hdg
root (hd0,0)
install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000
(hd0,0)/boot/grub/menu.lst
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000
(hd0,0)/boot/grub/menu.lst

...and so on for each device--substituting each additional RAID1 member
drive in the /dev/hdX line.

Method 2)

echo '(hd0) /dev/md0' > /boot/grub/device.map
grub-install '(hd0)'

...and so on for each (hd#) that is part of the md.

Method 3)

root (hd0,0)
setup (hd0)

...and so on for each hd# present in the RAID1.


My question is whether the /dev/hdX syntax or /dev/md# or (hd#) syntax
is correct and what the significance of the value 0x8000 for the Stage 2
load address.  It certainly seems like method 3 is the cleanest.

And, are any of these methods considered better than the others?

Thanks,
Brett



_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-grub