[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."

Skip Montanaro skip at pobox.com
Wed Apr 17 22:14:49 UTC 2019


See attached file with output from both commands.

On Wed, Apr 17, 2019 at 3:50 PM Mathieu Trudel-Lapierre
<mathieu.tl at gmail.com> wrote:
>
> Alright; I think I've finally made some progress on this.
>
> Turns out "Block device required" is really a red herring. It's some
> random value (15) used in efibootmgr code, for any number of causes for
> failure. We can't read anything into it.
>
> The real error in indeed "Invalid argument", and very much at the point
> where things are trying to delete the variable. It's either at deleting
> the variable itself, or updating BootOrder.
>
> Could you please run the following command, so as to give us more
> information to address this issue?
>
> sudo strace -ff efibootmgr -b 0000 -B
>
> Could you also run:
>
> ls -l /sys/firmware/efi/efivars/
>
> This will give us more information to hopefully fix this issue.
>
> It seems like you're also seeing this on a Dell XPS 13 (9343), seemingly
> with BIOS revision A15. Judging from
> https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1753518/comments/32;
> there's a BIOS A18 available from Dell that might address the issue.
> Now, I'm not absolutely certain that the new *revision* fixes the issue,
> but updating the firmware might clear things that would fix this. That's
> partly why we need the extra information (so please run the commands
> above before updating BIOS).
>
> ** Package changed: grub2-signed (Ubuntu Disco) => efibootmgr (Ubuntu
> Disco)
>
> ** Changed in: efibootmgr (Ubuntu Disco)
>        Status: Triaged => Incomplete
>
> ** Summary changed:
>
> - Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
> + [master] Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1801575).
> https://bugs.launchpad.net/bugs/1805490
>
> Title:
>   [master] Grub2 Failed to install "efibootmgr failed to register the
>   boot entry: Block device required."
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/efibootmgr/+bug/1805490/+subscriptions


** Attachment added: "efibootmgr.out"
   https://bugs.launchpad.net/bugs/1805490/+attachment/5256607/+files/efibootmgr.out

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to efibootmgr in Ubuntu.
https://bugs.launchpad.net/bugs/1805490

Title:
  [master] Grub2 Failed to install "efibootmgr failed to register the
  boot entry: Block device required."

Status in efibootmgr package in Ubuntu:
  Incomplete
Status in efibootmgr source package in Disco:
  Incomplete

Bug description:
  package grub-efi-amd64-signed 1.93.10+2.02-2ubuntu8.9 failed to
  install/upgrade: installed grub-efi-amd64-signed package post-
  installation script subprocess returned error exit status 1

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: grub-efi-amd64-signed 1.93.10+2.02-2ubuntu8.9
  ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
  Uname: Linux 4.15.0-38-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  Date: Tue Nov 27 10:35:08 2018
  ErrorMessage: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2018-05-12 (199 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.1
   apt  1.6.6
  SourcePackage: grub2-signed
  Title: package grub-efi-amd64-signed 1.93.10+2.02-2ubuntu8.9 failed to install/upgrade: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/efibootmgr/+bug/1805490/+subscriptions



More information about the foundations-bugs mailing list