Re: Debian Raid Crash Repair
On 11/15/05, Jiann-Ming Su <sujiannming@gmail.com> wrote:
> On 11/15/05, Siju George <sgeorge.ml@gmail.com> 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
> > (hd0,1)
> > (hd1,1)
> >
> > 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.
> > succeeded
> > Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,1)/grub/stage2
> > /grub/menu.lst"... succeeded
> > Done.
> >
> > 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.
>
Thankyou so much Jiann. Its working from both drives. I enabled boot
from only hdd-0 in BIOS and it works. Then I enabled boot only from
hdd-1 and it works. the boot partition is ext2fs and the rest ReiserFS
--SIju
Reply to: