I tried to revert to previous checkpoint for Ubuntu Sever 20.4 under
Hyper-V. Revert was successful but later when I tried to upgrade
packages which were eventually already upgraded previous to Revert, then
I got this same problem while package upgrade in current snapshot.

And following this link solved the problem:
https://unix.stackexchange.com/a/379824/241737

I think option "--target=x86_64-efi" in below command matters:

grub-install -v --target=x86_64-efi --recheck /dev/sda

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

Title:
  error: failed to register the EFI boot entry: Operation not permitted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1874620/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to