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

Re: UEFI + Raid

Le 09/05/2017 à 01:48, Sam Smith a écrit :

I have installed Debian Stretch on my first system using UEFI. I used a
two disk Raid 1 + LVM configured during install time to mount / on
(among other things).

But now I need to figure out how to add redundancy to the software raid
1 since I believe boot entries are only added to one disk during
installation time?

I did it with Wheezy and wrote a post about it in a french forum. But it isn't very useful if you cannot read french, and it does not take into account new fancy grub-install options available since Jessie :

According to
https://wiki.debian.org/UEFI#Missing_features there doesn't seem to be
much options. Is my only option to copy the FAT32 EFI system partition
from the first disk to the second disk and then use efibootmgr to add it
(the second disk) as a boot entry?

No, you have other options.
Manually install a copy of the GRUB EFI core image in the EFI removable path of each disk. This location does not require to add an EFI boot entry with efibootmgr.
Or use grub-install with --removable and --efi-directory for each disk.
Or use grub-install with --efi-directory and --bootloader to install a copy of GRUB wherever you want and add an EFI boot entry for it.

Maybe you could also create a RAID 1 array with superblock at the end and use it as the EFI system partition. Never tried it.

And will any subsequent kernel or
grub updates affect the system partition and thus require another
copy/sync to the second disk?

Kernel update : no, it just affects the /boot contents.
GRUB package update : yes.

Reply to: