[clug] How to make my server robust for booting

Bob Edwards bob at cs.anu.edu.au
Wed Sep 11 03:51:31 UTC 2019

On 11/9/19 1:35 pm, David C wrote:
> installing grub to /dev/md0 (underlying device of RAID1 /boot) has 
> worked for me in the past.

Does your /dev/md0 include the MBR of both drives in your RAID1?

Or is the BIOS booting from a boot record mirrored to both partitions
that are part of the RAID?

Bob Edwards

> On Wed., 11 Sep. 2019, 11:53 am Bob Edwards via linux, 
> <linux at lists.samba.org <mailto:linux at lists.samba.org>> wrote:
>     On 11/9/19 8:49 am, Tony Lewis via linux wrote:
>      > What I'm stuck on is how to handle a failure of the drive where
>     GRUB is
>      > installed.  I thought it might be as simple as doing grub-install
>      > /dev/sd[bcd] (as well as on /dev/sda) and BIOS would just find
>     *a* copy
>      > of GRUB and be able to continue the boot process.
>      >
>     It may be obvious, but don't forget to add each of disks /dev/sd[bcd]
>     to the BIOS boot order, so if it fails to boot from the first, it will
>     try the second etc.
>     This isn't fool-proof though. If a disk does start to boot (ie. the
>     BIOS/UEFI code can read the MBR etc. correctly) and then the disk
>     fails, the BIOS won't detect that and your server will be stuck.
>     cheers,
>     Bob Edwards.
>     -- 
>     linux mailing list
>     linux at lists.samba.org <mailto:linux at lists.samba.org>
>     https://lists.samba.org/mailman/listinfo/linux

More information about the linux mailing list