[clug] How to make my server robust for booting

David C cottrill.david at gmail.com
Wed Sep 11 23:29:02 UTC 2019


>From my 6 years past memory I had it booting from the boot record on the
RAID by telling it to boot from the first bootable partition, but it's been
a while.

On Wed., 11 Sep. 2019, 1:51 pm Bob Edwards, <bob at cs.anu.edu.au> wrote:

> 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?
>
> cheers,
> 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