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

Re: RAID Questions



On Tue, Jul 6, 2010 at 8:15 PM, Miles Fidelman
<mfidelman@meetinghouse.net> wrote:

> shell> grub-install hd0
> shell> grub-install hd1

With these grub-install invocations, you will not be able to boot in
degraded mode.

You have to set both sda and sdb to hd0 but you cannot do that in
device.map. You have to use the grub shell:

root# grub
grub> device (hd0) /dev/sda
grub> root (hd0,0)
grub> setup (hd0)
grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
root#

PS: Maybe you can do the following
root# vi /boot/grub/device.map
root# cat /boot/grub/device.map
(hd0) /dev/sda
root# grub-install hd0
root# vi /boot/grub/device.map
root# cat /boot/grub/device.map
(hd0) /dev/sdb
root# grub-install hd0
root# rm /boot/grub/device.map
but I've never tried it.


Reply to: