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

Bug #1874610 reported by Y Budi Sulistioadi
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Dell Latitude e7270 installation failed when setting the configuration the grub

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubiquity 20.04.15
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.445
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 24 12:34:39 2020
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Y Budi Sulistioadi (bsulistioadi) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Apr 24 04:33:47 ubuntu ubiquity: Setting up shim-signed (1.40.3+15+1533136590.3beb971-0ubuntu1) ...
Apr 24 04:33:48 ubuntu grub-installer: info: Installing grub on '/dev/sda'
Apr 24 04:33:48 ubuntu grub-installer: info: grub-install does not support --no-floppy
Apr 24 04:33:48 ubuntu grub-installer: info: Running chroot /target grub-install --force "/dev/sda"
Apr 24 04:33:48 ubuntu grub-installer: Installing for x86_64-efi platform.
Apr 24 04:33:50 ubuntu grub-installer: grub-install: warning: Internal error.
Apr 24 04:33:50 ubuntu grub-installer: grub-install: error: failed to register the EFI boot entry: Operation not permitted.
Apr 24 04:33:50 ubuntu grub-installer: error: Running 'grub-install --force "/dev/sda"' failed.

summary: - GRUB Config and Installation Failed
+ error: failed to register the EFI boot entry: Operation not permitted.
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Logan Tann (logon313) wrote :

I got the same bug when I tried to install ubutnu 20.04LTS on my MSI laptop (GL72m 7Rex) using the live gui, same error appears when I do a boot-repair.

Attached boot-repair log in attachment

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I had this error on Ubuntu Mate 20.04, also when running grub-install chroot'ed to the failed installation. After converting the partition table from MBR to GPT, grub-install worked.

Revision history for this message
Harry Rocas (hrocas-6317) wrote :

currently happening to me on Ubuntu 20.10. Never had any issues installing linux systems until I installed Ubuntu 20.10

"executing grub install /dev/sda failed this is a fatal error"

also posted a similar report https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1901148

boot-repair did nothing. tried to dual boot with windows 10 in case their installer would fix it. no luck.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.