[WBEL-users] Grub and raid - Solved

Thrift Internet Service thrift@thriftinternet.com
Sat, 10 Apr 2004 11:21:18 -0700


Good grief, it worked! The syntax is wrong at that site, but it worked after
repairing the syntax.

Bad syntax:

install --stage2=/boot/grub/stage2 (hd0,0)/grub/stage1 (hd0)
(hd0,0)/grub/stage2 p /grub/grub.conf

Good syntax:

install --stage2=/boot/grub/stage2 (hd0,0)/boot/grub/stage1 (hd0)
(hd0,0)/boot/grub/stage2 p /boot/grub/grub.conf

Note that the paths need to include the '/boot' portion of the location to
avoid getting a "File not found" error. But both hard drives are bootable
from either IDE controller location after applying that command.

Thanks!



----- Original Message ----- 
From: "Josep M." <websurfer@navegants.com>
To: "Thrift Internet Service" <thrift@thriftinternet.com>
Cc: "Simone" <simone72@email.it>; <whitebox-users@beau.org>
Sent: Saturday, April 10, 2004 10:34 AM
Subject: Re: [WBEL-users] Grub and raid - Solved


> Hi
>
> Read this,is the two first commands for make both disks bootables.
>
> http://www.dur.ac.uk/a.d.stribblehill/mirrored_grub.html
>
> Josep
>
>
> > Doesn't anyone know how to recover from a failed master using software
> > RAID?
> >
> >
> >
> >
> >   ----- Original Message -----
> >   From: Thrift Internet Service
> >   To: Simone ; whitebox-users@beau.org
> >   Sent: Friday, April 09, 2004 12:49 PM
> >   Subject: Re: [WBEL-users] Grub and raid - Solved
> >
> >
> >   I tried Fredrick Denny's recipe. I was able to recover from a failed
> > slave drive and duplicate a new slave without a problem, but I can't
> > seem to get the slave to be bootable after a failed master.
> >
> >   I moved the cable so the slave drive is now the master (/hde). I boot
> > with the install CD and go into 'linux rescue'. At the command prompt I
> > confirm that the drive is there with 'fdisk -l' and everything looks
> > fine. Then I try to mount:
> >
> >   mount /dev/hde1 /mnt/fred
> >
> >   mount: Mounting /dev/hde1 on /mnt/fred failed: No such file or
> > directory.
> >
> >   Of course there is no point in going any further. What happened when
you
> > simulated a master failure?
> >
> >
> >
> >     ----- Original Message -----
> >     From: Simone
> >     To: whitebox-users@beau.org
> >     Sent: Wednesday, April 07, 2004 12:54 PM
> >     Subject: Re: [WBEL-users] Grub and raid - Solved
> >
> >
> >     Hi list,
> >     Thanks to  Frederick Denny document I figured it out.
> >     To anyone it could interest, this works:
> > http://www.freddenny.com/UNIX/linuxRAID.html
> >
> >     Thanks anyway to anyone who paid attention to my message.
> >     Simone
> >
> >
> >       ----- Original Message -----
> >       From: Simone
> >       To: whitebox-users@beau.org
> >       Sent: Wednesday, April 07, 2004 9:04 PM
> >       Subject: [WBEL-users] Grub and raid
> >
> >
> >       Hi, as usual, having a question....
> >       Say I have a raid 1, disks A and B in mirroring, Say A dies, and I
> > replace it with C. How can I make grub write the MBR to C so that in
> > case B also dies I can still boot from C?
> >       Know it's a simple question, but I tried grub-install /dev/hdc or
> > /dev/md0 (where the boot partition is) and I just get errors. I am
> > now trying to move to lilo, but I am scared to write the MBR of the
> > last good disk I have.
> >
> >       Help really appreciated, it looks like I'll be working all night
> > :-(
> >
> >       Thanks,
> >       Simone
> >
> >
> >       ---
> >       Outgoing mail is certified Virus Free.
> >       Checked by AVG anti-virus system (http://www.grisoft.com).
> >       Version: 6.0.651 / Virus Database: 417 - Release Date: 05/04/2004
>