Same result here, hypervisor: Hyper-V. Partition table: GPT Here is command dpkg uses to upgrade grub: root@host ~ # grub-install --efi-directory=/boot/efi --target=x86_64-efi /dev/sda Installing for x86_64-efi platform. grub-install: warning: Internal error. grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Here is the same command with: --no-nvram root@host ~ # grub-install --efi-directory=/boot/efi --target=x86_64-efi --no-nvram /dev/sda Installing for x86_64-efi platform. Installation finished. No error reported. It looks like it is related to Hyper-V. I`ve tried to use dpkg-reconfigure grub-efi-amd64 to set update_nvram false, but dpkg is still not using the --no-nvram flag: root@host /var/lib/dpkg # debconf-show grub-efi-amd64 | fgrep nvram * grub2/update_nvram: false -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1872212 Title: grub-install: Operation not permitted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1872212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs