[Regression] grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Bug #1904226 reported by
Steven Clarkson
This bug report is a duplicate of:
Bug #1892792: grub-install fails due to uninitialized variable.
Edit
Remove
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
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.
To post a comment you must log in.
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.