Re: RAID 1 and grub

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

 



On Jan 30, 2008 6:33 PM, Richard Scobie <richard@xxxxxxxxxxx> wrote:
> I found this document very useful:
> http://lists.us.dell.com/pipermail/linux-poweredge/2003-July/008898.html
>
> After modifying my grub.conf to refer to (hd0,0), reinstalling grub on
> hdc with:
>
> grub> device (hd0) /dev/hdc
> grub> root (hd0,0)
> grub> (hd0)
>
> and rebooting with the bios set to boot off hdc, everything burst back
> into life.

FWIW, this step is clearly marked in the Software-RAID HOWTO under
"Booting on RAID":
http://tldp.org/HOWTO/Software-RAID-HOWTO-7.html#ss7.3

If it appears that Fedora isn't doing this when installing on a
Software RAID 1 boot device, I suggest you open a bug.

BTW, I suspect you are missing the command "setup" from your 3rd
command above, it should be:

# grub
grub> device (hd0) /dev/hdc
grub> root (hd0,0)
grub> setup (hd0)

> I shall now be checking all my Fedora/Centos RAID1 installs for grub
> installed on both drives.

Good idea. Whenever setting up a RAID1 device to boot from, I perform
the above 3 steps. I also suggest using labels to identify partitions
and testing the two failure modes and that you are able to boot with
either drive disconnected.

-Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux