[Bug 1891718] Re: [Regression] breaks GRUB install on an nvme device

Launchpad Bug Tracker 1891718 at bugs.launchpad.net
Mon Oct 5 09:51:56 UTC 2020


This bug was fixed in the package efivar - 37-5ubuntu1

---------------
efivar (37-5ubuntu1) groovy; urgency=medium

  * Add support for nvme-fabrics and nvme-subsystem devices. LP:
#1891718.

 -- dann frazier <dannf at ubuntu.com>  Sat, 03 Oct 2020 11:09:53 -0600

** Changed in: efivar (Ubuntu Groovy)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released
Status in efivar source package in Focal:
  New
Status in efivar source package in Groovy:
  Fix Released

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