Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180899

Re: UEFI + Raid

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: UEFI + Raid
Date 2017-05-10 00:50 +0200
Message-ID <tFm77-863-3@gated-at.bofh.it> (permalink)
References <tF0Jj-2c4-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 :
--removable
--force-extra-removable
--efi-directory
--bootloader-id

> 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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

UEFI + Raid Sam Smith <debian@net153.net> - 2017-05-09 02:00 +0200
  Re: UEFI + Raid Steve McIntyre <steve@einval.com> - 2017-05-09 14:40 +0200
  Re: UEFI + Raid Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-10 00:50 +0200
    Re: UEFI + Raid Sam Smith <debian@net153.net> - 2017-05-11 01:00 +0200
      Re: UEFI + Raid Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-11 07:30 +0200
        Re: UEFI + Raid Sam Smith <debian@net153.net> - 2017-05-16 19:20 +0200
          Re: UEFI + Raid Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-16 19:50 +0200
          Re: UEFI + Raid Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-16 19:50 +0200
            Re: UEFI + Raid Sam Smith <debian@net153.net> - 2017-05-17 20:10 +0200
              Re: UEFI + Raid Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-17 20:30 +0200

csiph-web