[Bug 1872212] Re: grub-install: Operation not permitted
Ben McCann
1872212 at bugs.launchpad.net
Tue Nov 24 21:51:47 UTC 2020
I have the same issue on bare metal (Ryzen 3600 on B550 MB) and --no-
nvram also disables the error message by, presumably, *not* updating the
EFI boot entries in NVRAM.
This was a working install and efibootmgr looked reasonable after
attempting to upgrade grub-efi-amd64-signed:
[deneb:~]$ sudo efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002
Boot0000* ubuntu
Boot0002* Windows Boot Manager
However, and I can't explain this, the boot entries are duplicated after
rebooting (which, BTW, worked OK):
[deneb:~]$ sudo efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,0003,0004
Boot0000* ubuntu
Boot0002* Windows Boot Manager
Boot0003* Windows Boot Manager
Boot0004* ubuntu
I would swear those duplicates weren't present even after running
efibootmgr *after* doing the grub-efi-amd64-signed upgrade. I can't
identify *when* they were installed unless somehow they were masked
until after I rebooted. In any case it seems *wrong* to have duplicate
entries for the *same* operating system.
Perhaps this is a clue? Maybe the grub update is trying to install *new*
entries when there are already entries present?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1872212
Title:
grub-install: Operation not permitted
Status in grub2-signed package in Ubuntu:
Confirmed
Bug description:
I'm using Ubuntu 20.04 beta, upgraded from 19.10.
When doing the last upgrade I got an error message from grub.
When I run ›dpkg-reconfigure shim-signed‹ I get this error:
Installing for x86_64-efi platform.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Since then I didn't reboot, for I'm afraid it won't work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1872212/+subscriptions
More information about the foundations-bugs
mailing list