[Regression] grub-install: error: failed to register the EFI boot entry: Operation not permitted.

Bug #1904226 reported by Steven Clarkson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
efivar (Ubuntu)
New
Undecided
Unassigned

Bug Description

When updating libefiboot1 from 37-2ubuntu2 to 37-2ubuntu2.1 on focal, the following error now occurs.

$ grub-install /dev/nvme0n1 --target=x86_64-efi --efi-directory=/boot/efi
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.

I was able to trace the bug to a parsing failure in acpi_root. The same fix as in LP: 1892792 solves the problem, and I've recompiled to verify that. The parser should simply not apply, but the uninitialized variable is reliably uninitialized to a value that suggests a match.

Revision history for this message
Steven Clarkson (sclarkson) wrote :

Attached lshw for the system I'm seeing this on. The root and boot partitions are on an NVMe drive on a ASRock TRX40 Creator motherboard.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.