bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub and software RAID


From: Danilo Godec
Subject: Re: Grub and software RAID
Date: Tue, 12 Mar 2002 08:25:21 +0100 (CET)

On Mon, 11 Mar 2002, Gerard W. Patterson wrote:

> I run a very similar configuration.  What I do is (using a grub floppy)
> remove the first disk and install the grub boot-loader on the second disk
> with the same configuration as the first one (since the second disk is now
> the first and only disk).  This works for me, anyways...

There is no need to remove the first disk. You can install grub directly
on the second disk, so it will boot when it becomes the first (and/or
only) disk.

You can do that using the 'device' command. Here is how I've done it with
three (3) disks (/boot is raid1)

############################################################################
device (hd0) /dev/hde
root (hd0,0)
install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000 
(hd0,0)/boot/grub/menu.lst
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 
(hd0,0)/boot/grub/menu.lst

device (hd0) /dev/hdg
root (hd0,0)
install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000 
(hd0,0)/boot/grub/menu.lst
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 
(hd0,0)/boot/grub/menu.lst

device (hd0) /dev/hdi
root (hd0,0)
install /boot/grub/stage1 (hd0,0) /boot/grub/stage2 0x8000 
(hd0,0)/boot/grub/menu.lst
install /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 
(hd0,0)/boot/grub/menu.lst

quit



 Enjoy grub, D. :)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]