On Tue, Jul 20, 2021 at 07:07:55PM -0000, Dimitri John Ledkov wrote: > in later releases grub-install has stopped forking to call efibootmgr in > favor of using an EFI library. > > Does it return non-zero error code? because it should be ignoring > failure to call efibootmgr. And otherwise grub installation was > completed.
ubuntu@ubuntu:~$ dpkg-query -W grub2-common grub2-common 2.02-2ubuntu8.23 ubuntu@ubuntu:~$ sudo grub-install Installing for arm64-efi platform. grub-install: error: efibootmgr: not found. ubuntu@ubuntu:~$ echo $? 1 After installing efibootmgr (to demonstrate it is the only issue): ubuntu@ubuntu:~$ sudo grub-install Installing for arm64-efi platform. Installation finished. No error reported. ubuntu@ubuntu:~$ echo $? 0 > efibootmgr recommends has been added back in Debian, but not yet in > Ubuntu. becuase in general it is useful. Previously the dependency was > on the grub-efi-arm64-bin package Depends: efibootmgr which is not there > in the binary copies. > > Imho src:grub2 in xenial/bionic should depend on efibootmgr on amd64 & > arm64, or we should add efibootmgr dep in the grub2-unsigned package. > > Upgrades should not be affected, since efibootmgr will not be removed. > But fresh installs are affected, like the newly respun cloud-image. ACK -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1936857 Title: grub-install: error: efibootmgr: not found. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1936857/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
