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

Rod Smith 1466150 at bugs.launchpad.net
Mon Nov 30 14:28:18 UTC 2020


@Georg Sauthoff wrote:

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

Offhand, I don't know of an EFI that will write to the ESP
automatically; HOWEVER, there are cases when it can happen because of
user actions and/or EFI applications' operation. For instance:

* The EFI shell includes multiple commands that can write to the
  ESP when the user executes them -- file copies, file renames,
  a built-in text editor, etc.
* The rEFInd boot manager includes options to store rEFInd-specific
  variables on the ESP, as well as to create screen shots. The older
  rEFIt can also create screen shots.
* There's a whole Python implementation for EFI, so in theory,
  users could run Python scripts that write to the EFI.

Assuming that the user knows enough to not do these things seems like an
unwise assumption, IMHO.

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