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

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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to