[Bug 1891718] [NEW] [Regression] breaks GRUB install on an nvme device
dann frazier
1891718 at bugs.launchpad.net
Fri Aug 14 22:15:49 UTC 2020
Public bug reported:
After upgrading a system from bionic to focal, grub-install began to
fail:
$ sudo /usr/sbin/grub-install
Installing for x86_64-efi platform.
/usr/sbin/grub-install: warning: Internal error.
/usr/sbin/grub-install: error: failed to register the EFI boot entry: Operation not permitted.
The issue seems to stem from libefiboot1. With upstream release 35:
# LD_PRELOAD=/home/ubuntu/efivar/src/libefiboot.so /bin/efibootmgr -q -c -d /dev/nvme0n1 -p 1 -w -L grub -l \\EFI\\grub\\grubx64.efi -v
#
But with 36:
# LD_PRELOAD=/home/ubuntu/efivar/src/libefiboot.so /bin/efibootmgr -q -c -d /dev/nvme0n1 -p 1 -w -L grub -l \\EFI\\grub\\grubx64.efi -vCould not prepare Boot variable: No such file or directory
git bisect of upstream efivars hit the following commit:
# first bad commit: [ff696a432bf92af1206e235a60ad28b58ff0ab92] Move nvme parsing to linux-nvme.c
** Affects: efivar (Ubuntu)
Importance: Undecided
Status: New
** Affects: efivar (Ubuntu Focal)
Importance: Undecided
Status: New
** Affects: efivar (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: efivar (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: efivar (Ubuntu Focal)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to efivar in Ubuntu.
https://bugs.launchpad.net/bugs/1891718
Title:
[Regression] breaks GRUB install on an nvme device
Status in efivar package in Ubuntu:
New
Status in efivar source package in Focal:
New
Status in efivar source package in Groovy:
New
Bug description:
After upgrading a system from bionic to focal, grub-install began to
fail:
$ sudo /usr/sbin/grub-install
Installing for x86_64-efi platform.
/usr/sbin/grub-install: warning: Internal error.
/usr/sbin/grub-install: error: failed to register the EFI boot entry: Operation not permitted.
The issue seems to stem from libefiboot1. With upstream release 35:
# LD_PRELOAD=/home/ubuntu/efivar/src/libefiboot.so /bin/efibootmgr -q -c -d /dev/nvme0n1 -p 1 -w -L grub -l \\EFI\\grub\\grubx64.efi -v
#
But with 36:
# LD_PRELOAD=/home/ubuntu/efivar/src/libefiboot.so /bin/efibootmgr -q -c -d /dev/nvme0n1 -p 1 -w -L grub -l \\EFI\\grub\\grubx64.efi -vCould not prepare Boot variable: No such file or directory
git bisect of upstream efivars hit the following commit:
# first bad commit: [ff696a432bf92af1206e235a60ad28b58ff0ab92] Move nvme parsing to linux-nvme.c
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/efivar/+bug/1891718/+subscriptions
More information about the foundations-bugs
mailing list