[Bug 1936857] Re: grub-install: error: efibootmgr: not found.

Dimitri John Ledkov 1936857 at bugs.launchpad.net
Tue Jul 20 19:07:55 UTC 2021


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.

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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1936857

Title:
  grub-install: error: efibootmgr: not found.

Status in grub2 package in Ubuntu:
  New
Status in grub2 source package in Xenial:
  Confirmed
Status in grub2 source package in Bionic:
  Confirmed

Bug description:
  grub-install from 2.02~beta2-36ubuntu3.32 on xenial/arm64 fails with:

  ubuntu at ubuntu:~$ sudo grub-install
  Installing for arm64-efi platform.
  grub-install: error: efibootmgr: not found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1936857/+subscriptions




More information about the foundations-bugs mailing list