[Bug 1466150] Re: grub-install breaks when ESP is on raid

Georg Sauthoff 1466150 at bugs.launchpad.net
Sat Nov 28 12:58:23 UTC 2020


Tom Reynolds (tomreyn) wrote (https://bugs.launchpad.net/ubuntu/+source
/grub-installer/+bug/1466150/comments/28):

> While installing ESP on top of mdadm (metadata version <= 1.0) RAID-1
is practically possible, supporting this is not: The UEFI specification
(version 2.8, sections 13.3.1.1, 13.3.3) defines the ESP as a FAT32 file
system which is located (directly) on a GPT partition. While this does
not seem to be part of the specification, some UEFI implementations
expect to be able to write to an ESP.

Can you name _one_ UEFI implementation that actually does write to an
ESP?


FWIW, when installing Fedora with the default installer and selecting a RAID-1 scheme there, the EFI system partition is created on a superblock 1.0 RAID-1. Thus, the Fedora developers seem to be pretty sure that there isn't any UEFI implementation that expects to be able to write to an ESP ...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1466150

Title:
  grub-install breaks when ESP is on raid

Status in grub-installer package in Ubuntu:
  Triaged

Bug description:
  I run a server with mirrored (RAID1) disks using grub-efi.

  Root and /boot and /boot/grub are on mirrored partitions.

  I have EFI partitions on both disks but it is not possible to RAID1
  these as they are FAT32.  On an EFI system grub-install will only
  install to one of the EFI partitions and so after running install-grub
  you have to remember to copy the EFI file across.

  Could grub configuration and grub-install be amended to automatically
  install to multiple disks?

  Searching around there seem to be many people asking this question
  without any elegant solution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1466150/+subscriptions



More information about the foundations-bugs mailing list