[Bug 1872212] Re: grub-install: Operation not permitted
Michael.G.
1872212 at bugs.launchpad.net
Tue Apr 21 17:22:18 UTC 2020
Upgraded 19.10=>20.04lts beta with do-release-upgrade -d, today. Got two
times an ASCII window warning message like "grub failed to install. If
you continue, your system might not boot". Continued anyway and the
system still boots.
However, I can reproduce the error in console now via sudo grub-install -v --target=x86_64-efi --recheck /dev/sda resulting in:
grub-install: (...)
grub-install: info: Registering with EFI: distributor = `ubuntu', path = `\EFI\ubuntu\shimx64.efi', ESP at hostdisk//dev/sda,gpt1.
grub-install: warning: Internal error.
grub-install: error: failed to register the EFI boot entry: Operation not permitted.
This post seems related and points to efivarfs: https://unix.stackexchange.com/questions/379774/grub-installation-failed
The EFI firmware in my case is Hyper-V (WS2016 host).
Hope, this helps.
--
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:
New
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