LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Glen Turner <glen.turner@aarnet.edu.au>
To : Michael Martucci <m.martucci@gmx.net>
Date: Tue, 29 Jul 2003 14:53:59 +0930
Re: GRUB + RAID howto
> 6. Setting up GRUB: (assuming you've already installed it)
> ------------------------------------------------------------------
> # grub
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0xfd
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... yes
> Checking if "/boot/grub/stage2" exists... yes
> Checking if "/boot/grub/e2fs_stage1_5" exists... yes
> Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are
> embedded.
> succeeded
> Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
> (hd0,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded
> Done.
>
> grub> root (hd1,0)
> Filesystem type is ext2fs, partition type 0xfd
>
> grub> setup (hd1)
> Checking if "/boot/grub/stage1" exists... yes
> Checking if "/boot/grub/stage2" exists... yes
> Checking if "/boot/grub/e2fs_stage1_5" exists... yes
> Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 16 sectors are
> embedded.
> succeeded
> Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p
> (hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded
> Done.
>
> grub> quit
Not quite right. When hd0 fails and you reboot then
hd1 will become hd0, it won't remain hd1.
Try the GRUB commands:
root (hd0,0)
setup (hd0)
device (hd0) /dev/hdc
root (hd0,0)
setup (hd0)
quit
Regards,
Glen
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page