[Bug 1891718] Re: [Regression] breaks GRUB install on an nvme device
dann frazier
1891718 at bugs.launchpad.net
Sat Aug 15 19:54:08 UTC 2020
** Bug watch added: github.com/rhboot/efivar/issues #157
https://github.com/rhboot/efivar/issues/157
** Also affects: efivar via
https://github.com/rhboot/efivar/issues/157
Importance: Unknown
Status: Unknown
--
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:
Unknown
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/efivar/+bug/1891718/+subscriptions
More information about the foundations-bugs
mailing list