bug-grub
[Top][All Lists]
Advanced

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

Clarify: GRUB setup on RAID1


From: Brett Russ
Subject: Clarify: GRUB setup on RAID1
Date: Tue, 19 Nov 2002 15:34:03 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]