Re: [Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
See attached file with output from both commands. On Wed, Apr 17, 2019 at 3:50 PM Mathieu Trudel-Lapierre 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 -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 Bugs, which is subscribed to Ubuntu. 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
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 -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 a member of Ubuntu Bugs, which is subscribed to Ubuntu. 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
** Changed in: grub2-signed (Ubuntu Disco) Status: Incomplete => Triaged ** Tags removed: rls-cc-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
** Also affects: grub2-signed (Ubuntu Disco) Importance: High Status: Incomplete ** Tags removed: rls-dd-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
I have been using a workaround submitted by Ronan Mooney, listed as #11 on https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1753518 The workaround has enabled me to complete upgrades. On 2/12/19 10:09 PM, Mathieu Trudel-Lapierre wrote: > I'm unable to reproduce this. I've tried upgrading from bionic to > cosmic, or various partitioning set ups. Clearly there is something > special about some set up that can cause this kind of issue, but I'm > unsure what it could be. > > Could you please tell us more about how your system was installed that > could help reproducing the bug? > > - Is it upgraded from previous releases before the bionic -> cosmic upgrade? > - Is there a special partitioning done? > - Is "CSM" enabled in the BIOS with the UEFI mode? > - Is there anything else you can say about the affected systems that could > help us reproduce the issue? > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
The output is attached. On 2/12/19 10:14 PM, Mathieu Trudel-Lapierre wrote: > sudo efibootmgr -v ** Attachment added: "efibmgr.txt" https://bugs.launchpad.net/bugs/1805490/+attachment/5238465/+files/efibmgr.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
Some more questions: - Is "Boot Order Lock" enabled on the affected system? (This is another feature in BIOS/firmware). - Please include the output of 'sudo efibootmgr -v' ** Changed in: grub2-signed (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
I'm unable to reproduce this. I've tried upgrading from bionic to cosmic, or various partitioning set ups. Clearly there is something special about some set up that can cause this kind of issue, but I'm unsure what it could be. Could you please tell us more about how your system was installed that could help reproducing the bug? - Is it upgraded from previous releases before the bionic -> cosmic upgrade? - Is there a special partitioning done? - Is "CSM" enabled in the BIOS with the UEFI mode? - Is there anything else you can say about the affected systems that could help us reproduce the issue? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
** Tags added: id-5c094c8cac6f9b6b39789abd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
Bug #1800363 for example claims it happened during a bionic to cosmic upgrade ** Tags added: rls-cc-incoming rls-dd-incoming ** Changed in: grub2-signed (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2-signed (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1805490] Re: Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required."
** Summary changed: - Grub2 Failed to install + Grub2 Failed to install "efibootmgr failed to register the boot entry: Block device required." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1805490 Title: 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/grub2-signed/+bug/1805490/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs