[Bug 1936857] Re: grub-install: error: efibootmgr: not found.
dann frazier
1936857 at bugs.launchpad.net
Sun Mar 5 22:55:17 UTC 2023
verified w/ 2.02-2ubuntu8.26
ubuntu at ubuntu:~$ sudo apt install grub2-common grub-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
efibootmgr libefiboot1
Suggested packages:
multiboot-doc xorriso desktop-base
Recommended packages:
os-prober
The following NEW packages will be installed:
efibootmgr libefiboot1
The following packages will be upgraded:
grub-common grub2-common
2 upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
Need to get 2121 kB of archives.
After this operation, 151 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libefiboot1 arm64 34-1
[20.7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 efibootmgr arm64 15-1
[27.1 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/main arm64 grub2-common
arm64 2.02-2ubuntu8.26 [477 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-proposed/main arm64 grub-common a
rm64 2.02-2ubuntu8.26 [1596 kB]
Fetched 2121 kB in 1s (2694 kB/s)
Selecting previously unselected package libefiboot1:arm64.
(Reading database ... 96973 files and directories currently installed.)
Preparing to unpack .../libefiboot1_34-1_arm64.deb ...
Unpacking libefiboot1:arm64 (34-1) ...
Selecting previously unselected package efibootmgr.
Preparing to unpack .../efibootmgr_15-1_arm64.deb ...
Unpacking efibootmgr (15-1) ...
Preparing to unpack .../grub2-common_2.02-2ubuntu8.26_arm64.deb ...
Unpacking grub2-common (2.02-2ubuntu8.26) over (2.02-2ubuntu8.25) ...
Preparing to unpack .../grub-common_2.02-2ubuntu8.26_arm64.deb ...
Unpacking grub-common (2.02-2ubuntu8.26) over (2.02-2ubuntu8.25) ...
Setting up grub-efi-arm64-signed (1.187.3~18.04.1+2.06-2ubuntu14.1) ...
Installing for arm64-efi platform.
Installation finished. No error reported.
Setting up libefiboot1:arm64 (34-1) ...
Setting up efibootmgr (15-1) ...
Setting up grub-common (2.02-2ubuntu8.26) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back
to defaults
Setting up grub2-common (2.02-2ubuntu8.26) ...
Processing triggers for systemd (237-3ubuntu10.56) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
W: APT had planned for dpkg to do more than it reported back (20 vs 24).
Affected packages: grub-efi-arm64-signed:arm64
ubuntu at ubuntu:~$ sudo apt remove efibootmgrstall linux-modules-5.4.0-139-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libefiboot1
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
efibootmgr grub-common grub-efi-arm64 grub-efi-arm64-bin
grub-efi-arm64-signed grub2-common shim-signed
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
shim-signed grub-efi-arm64-signed (due to shim-signed)
grub2-common (due to shim-signed)
0 upgraded, 0 newly installed, 7 to remove and 18 not upgraded.
After this operation, 34.5 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1936857
Title:
grub-install: error: efibootmgr: not found.
Status in grub2 package in Ubuntu:
New
Status in grub2-signed package in Ubuntu:
Confirmed
Status in grub2 source package in Xenial:
New
Status in grub2-signed source package in Xenial:
Confirmed
Status in grub2 source package in Bionic:
Fix Committed
Status in grub2-signed source package in Bionic:
In Progress
Bug description:
[Impact]
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.
[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.
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