grub-install: error: efibootmgr: not found.
Bug #1936857 reported by
dann frazier
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
grub2-signed (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
In Progress
|
Undecided
|
Unassigned |
Bug Description
[Impact]
grub-install from 2.02~beta2-
ubuntu@ubuntu:~$ sudo grub-install
Installing for arm64-efi platform.
grub-install: error: efibootmgr: not found.
[Test plan]
Make sure that it works, and we can't uninstall efibootmgr
[Where problems could occur]
Systems that removed grub-efi-amd64-bin (you know, non-EFI systems might do that) get efibootmgr installed unneccessarily.
However I believe this significantly reduces the risk of this breaking again in a future grub2-unsigned update and permits sharing the grub2-unsigned binaries across releases which is what we want.
Related branches
~juliank/grub/+git/bionic:master
Ready for review
for merging
into
~ubuntu-core-dev/grub/+git/bionic:master
- Steve Langasek: Pending requested
-
Diff: 66 lines (+17/-3)3 files modifieddebian/changelog (+7/-0)
debian/control (+1/-1)
debian/grub-check-signatures (+9/-2)
Changed in grub2 (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in grub2 (Ubuntu Bionic): | |
status: | New → Confirmed |
tags: | added: bionic regression-proposed |
affects: | grub2 (Ubuntu) → grub2-signed (Ubuntu) |
Changed in grub2-signed (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
Changed in grub2-signed (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
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.