I ran 'grub-install', and expected both efi to be updated. It updates only the primary ESP.
Both 'dpkg-reconfigure grub-efi-amd64' and running 'grub-multi-install' directly update both ESPs. So on the package updates part it looks like we are good to go.
The part that I am missing, is making it somehow the default out of the box action for admins when updating efi on such systems. Here are some approaches to illustrate:
- put grub-multi-install in the path at the very least,
- use dpkg's alternatives to point grub-install at grub-multi-install or
- wrap grub-install with a warning if multiple ESP's are present,
- put a note somewhere where admins will be looking when trying to figure it out, such as on /boot/efi if the specs allow it
I ran 'grub-install', and expected both efi to be updated. It updates only the primary ESP.
Both 'dpkg-reconfigure grub-efi-amd64' and running 'grub-multi- install' directly update both ESPs. So on the package updates part it looks like we are good to go.
The part that I am missing, is making it somehow the default out of the box action for admins when updating efi on such systems. Here are some approaches to illustrate:
- put grub-multi-install in the path at the very least,
- use dpkg's alternatives to point grub-install at grub-multi-install or
- wrap grub-install with a warning if multiple ESP's are present,
- put a note somewhere where admins will be looking when trying to figure it out, such as on /boot/efi if the specs allow it