error: failed to register the EFI boot entry: Operation not permitted.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
install on a drive with existing windows 10 installation.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: ubiquity 21.10.3
ProcVersionSign
Uname: Linux 5.11.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu67
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.463
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 9 20:09:14 2021
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210709)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_CA.UTF-8
LC_NUMERIC=C.UTF-8
RebootRequiredPkgs:
linux-
linux-base
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
| summary: |
- grub installation failed on shared windows drive after installing 21.10 + error: failed to register the EFI boot entry: Operation not permitted. |
| affects: | ubiquity (Ubuntu) → grub (Ubuntu) |

> Jul 9 22:54:51 ubuntu grub-installer: Installing for x86_64-efi platform.
> Jul 9 22:54:52 ubuntu grub-installer: grub-install: warning: Internal error.
> Jul 9 22:54:52 ubuntu grub-installer: grub-install: error: failed to register the EFI boot entry: Operation not permitted.
This shows that your system is running EFI, but that grub has been blocked from updating the firmware variables to register itself as a boot option.
Please check if there is a security setting in your firmware that blocks changing the boot order and disable it.
Without being able to update the boot order, Ubuntu is likely not going to be able to be booted on your dual-boot system. So it's not a bug that grub flags this problem before finishing the install, but a bug with your system that it doesn't support updating the boot order.