<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-size: 11pt;">Steve and team,</div>
<div class="elementToProof" style="font-size: 11pt;"><br>
> It's a longstanding hole in grub-efi (sorry!), but there is nothing<br>
> special here yet to make a RAIDed ESP work.</div>
<div class="elementToProof" style="font-size: 11pt;"><br>
</div>
<div class="elementToProof" style="font-size: 11pt;">OK I get it now. The plot thickens. That is why it worked 11->12 - the EFI didn't change version. This is the EFI from 11</div>
<div class="elementToProof" style="font-size: 11pt;"><br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
```</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
$ strings /mnt/second-efi/EFI/debian/grubx64.efi | grep -i grub | tail -6</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
source $prefix/grub.cfg</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
source $cmdpath/grub.cfg</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
normal (memdisk)/grub.cfg</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
grub,4,Free Software Foundation,grub,2.06,https://www.gnu.org/software/grub/</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
grub.debian,4,Debian,grub2,2.06-3~deb11u6,https://tracker.debian.org/pkg/grub2</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
&Debian Secure Boot Signer 2022 - grub20</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
$ strings /mnt/efi/EFI/debian/grubx64.efi | grep -i grub | tail -6</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
strings: '/mnt/efi/EFI/debian/grubx64.efi': No such file</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
debian@ethstaker-mumbai:~$ strings /boot/efi/EFI/debian/grubx64.efi | grep -i grub | tail -6</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
source $prefix/grub.cfg</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
source $cmdpath/grub.cfg</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
normal (memdisk)/grub.cfg</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
grub,4,Free Software Foundation,grub,2.06,https://www.gnu.org/software/grub/</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
grub.debian,4,Debian,grub2,2.06-3~deb11u6,https://tracker.debian.org/pkg/grub2</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
&Debian Secure Boot Signer 2022 - grub20</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
```</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Same version as 12. 2.06 in both cases. I'm assuming `2.06-13+deb12u1` and `2.06-3~deb11u6` are binary compatible, that is if the machine boots from EFI `2.06-3~deb11u6` into Debian 12 grub, all is well.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Anecdotally that seems to be true because our 11->12 fleet upgrade went without a hitch in 2023.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
With 12->13, the EFI version changes, and just `/boot/efi` gets updated. Then it's up to the vagaries of ... efibootmgr I suppose, whether the updated partition is used or no. In my testing failure is intermittent. The system may or may not reboot on the old
EFI, but once it does, the only way back is to go into EFI shell, choose the <b>
other</b> fs like say fs1:, and then run shimx64.efi (the upgraded one) from there.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
This is not necessarily a bug, it's a (missing) feature. Which bites users going from 12->13 because now EFI version changes.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Can I suggest at a minimum documentation and a warning at <a href="https://www.debian.org/releases/trixie/release-notes/upgrading.en.html#possible-issues-during-upgrade">
https://www.debian.org/releases/trixie/release-notes/upgrading.en.html#possible-issues-during-upgrade</a> and maybe even before then, a warning earlier in the doc to look at the possible issues section and what to do about multi-disk EFI setups.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Completely amazing ofc would be that grub-install or "whatever responsible component" sees all EFI entries in
<code>efibootmgr</code> and upgrades / installs into all of them, or has a switch to do so, which gets exercised on grub package update.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Yours</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thorsten</div>
</body>
</html>