[Bug 1891718] Re: [Regression] breaks GRUB install on an nvme device
Jeff Lane
1891718 at bugs.launchpad.net
Mon Sep 28 15:41:07 UTC 2020
** Tags added: blocks-hwcert-server
--
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:
New
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