Bug#1135137: upgrade-reports: Bookworm -> Trixie mdadm raid EFI not updated on both disks
Pascal Hambourg
pascal at plouf.fr.eu.org
Fri May 1 12:49:53 BST 2026
On 01/05/2026, Thorsten Behrens wrote:
> a note at [release notes] to look out for systems with multiple ESPs
> such as RAID 1 setups
Debian does not support multiple ESPs out of the box, so users who set
this up should already know.
> On Thu, 30 Apr 2026 00:46:30 Pascal Hambourg wrote:
>> Thorsten Behrens wrote:
>>> update grub on all ESPs
>>
>> This is a bad idea. Not all detected ESPs may belong to this system.
>> A correct solution requires to record the ESPs which are managed by this
>> system and must be updated.
>
> Is this an equally bad idea?
>
> Get UUID of currently mounted /boot/grub
>
> Get UUID that `grub.cfg` on the ESP I am looking at chains to
>
> If the two match, this ESP is managed by this system and should be updated
This is not generic and reliable enough. grub.cfg in the ESP is
generated only with signed GRUB images (shim + grub-efi-$arch-signed).
Signed GRUB images are available only for amd64 and arm64.
grub-pc records the devices where GRUB should be installed in debconf,
why wouldn't grub-efi just do the same for EFI partitions ?
More information about the Pkg-grub-devel
mailing list