Re: Debian Raid Crash Repair
On 11/15/05, Siju George <firstname.lastname@example.org> wrote:
> I set up grub the following way. Hope its right. Is there some benifit
> to do it your way??
> srv:~# grub
> Probing devices to guess BIOS drives. This may take a long time.
> GNU GRUB version 0.95 (640K lower / 3072K upper memory)
> [ Minimal BASH-like line editing is supported. For the first word, TAB
> lists possible command completions. Anywhere else TAB lists the possible
> completions of a device/filename. ]
> grub> find /grub/stage1
> grub> device (hd0) /dev/hda
> grub> root (hd0,1)
> Filesystem type is ext2fs, partition type 0xfd
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... yes
> Checking if "/grub/stage2" exists... yes
> Checking if "/grub/e2fs_stage1_5" exists... yes
> Running "embed /grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
> Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,1)/grub/stage2
> /grub/menu.lst"... succeeded
> grub> quit
> Hope this is alright?
Test by disconnecting one drive at a time. If your system will boot
from either drive, then you have grub properly installed on both
drives. I reported this as a bug to the debian developers. I think
LILO will install properly on both raid devices. But, for some reason
grub does not, and you have to do it manually. You may have to resync
the raid array when you bring both drives back online. Also, I think
grub has to be installed on a ext2/3 filesystem. So, make sure your
first partition is ext2/3, hence a small /boot partition at the
beginning of the drive.
"I have to decide between two equally frightening options.
If I wanted to do that, I'd vote." --Duckman
"The system's broke, Hank. The election baby has peed in
the bath water. You got to throw 'em both out." --Dale Gribble