Hi,

the trick is, you can't boot on the MBR installed on a _software_
raid1 partition _but_ you _can_ if you're going to install the MBR
on all the member disks of that software raid1 partition.


assuming that you're trying to boot from "/boot" residing in a raid1
partition  "/md3"  which includes  "/dev/sda3"  and  "/dev/sdb3",
go to a grub shell and then try a similar set of commands:

grub> device (hd0)  /dev/sda3
grub> root (hd0,0)
grub> setup (hd0)
grub> device (hd0)  /dev/sdb3        ; to make the MBR look correct whenever
the 1st disk fails
grub> root (hd0,0)
grub> setup (hd0)



then  grub.conf  should look similar to this:
 ....
 root (hd0,0)
 kernel /vmlinuz.... root=/dev/md1
 ....


* you might want to use  hd1  for  /dev/sdb3  but you'll be needing a
 separate entry for it on  grub.conf  in case of a failure on the 1st disk.



and then boot.


hopefully, you'll find this template useful. just goog for "boot software
raid"
for more info.






On 5/7/07, Hazel Lopez <[EMAIL PROTECTED]> wrote:

Hi,

I am trying to set up an 64-bit AMD server, with two (2) 120GB and two (2)
320GB SATA hard drives.  I tried to install ubuntu-7.04-server-amd64.isoon the 
machine and made two (2) raid1 configurations on the two sets of hard
drives.  I configured it via manually editing the partition tables.  There
wasn't any problem during the installation, I was able to create three
partitions, md0 swap, md1 / and md2 /var.  However, whenever the
installation is done and the machine reboots, I get the message, "GRUB
Loading stage1.5 Error 17."

Can someone guide me on how to effectively configure raid1 on feisty fawn
server installation?

Thanks.

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to