[Bug 1901650] Re: grub-install: error: failed to register the EFI boot entry: Operation not permitted.

Haw Loeung 1901650 at bugs.launchpad.net
Sun Nov 22 17:41:57 UTC 2020


Other user reports - https://github.com/actions/virtual-
environments/issues/1605

** Bug watch added: github.com/actions/virtual-environments/issues #1605
   https://github.com/actions/virtual-environments/issues/1605

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

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

Status in grub2 package in Ubuntu:
  New
Status in grub2 source package in Focal:
  New

Bug description:
  Hi,

  Seeing a bunch of these across various units, all of which were
  recently provisioned in Azure:

  | ubuntu at machine-1:~$ sudo apt-get dist-upgrade
  | Reading package lists... Done
  | Building dependency tree
  | Reading state information... Done
  | Calculating upgrade... Done
  | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  | 1 not fully installed or removed.
  | After this operation, 0 B of additional disk space will be used.
  | Do you want to continue? [Y/n] y
  | Setting up grub-efi-amd64-signed (1.142.8+2.04-1ubuntu26.6) ...
  | Installing grub to /boot/efi.
  | Installing for x86_64-efi platform.
  | grub-install: warning: Internal error.
  | grub-install: error: failed to register the EFI boot entry: Operation not permitted.

  It keeps trying to install on either /dev/sda15 or /dev/sdb15 (some
  units have attached volumes).

  | ubuntu at machine-1:~$ sudo parted -l
  | Model: Msft Virtual Disk (scsi)
  | Disk /dev/sda: 34.4GB
  | Sector size (logical/physical): 512B/512B
  | Partition Table: gpt
  | Disk Flags:
  |
  | Number  Start   End     Size    File system  Name  Flags
  | 14      1049kB  5243kB  4194kB                     bios_grub
  | 15      5243kB  116MB   111MB   fat32              boot, esp
  |  1      116MB   34.4GB  34.2GB  ext4

  Focal.

  | Start-Date: 2020-10-26  16:02:51
  | Upgrade: perl-base:amd64 (5.30.0-9build1, 5.30.0-9ubuntu0.2), bind9-dnsutils:amd64 (1:9.16.1-0ubuntu2.3, 1:9.16.1-0ubuntu2.4), grub-common:amd64 (2.04-1ubuntu26.4, 2.04-1ubuntu26.6), snapd:amd64 (2.46.1+20.04, 2.47.1+20.04), bind9-host:amd64 (1:9.16.1-0ubuntu2.3, 1:9.16.1-0ubuntu2.4), perl-modules-5.30:amd64 (5.30.0-9build1, 5.30.0-9ubuntu0.2), grub2-common:amd64 (2.04-1ubuntu26.4, 2.04-1ubuntu26.6), plymouth-theme-ubuntu-text:amd64 (0.9.4git20200323-0ubuntu6, 0.9.4git20200323-0ubuntu6.1), grub-pc:amd64 (2.04-1ubuntu26.4, 2.04-1ubuntu26.6), libplymouth5:amd64 (0.9.4git20200323-0ubuntu6, 0.9.4git20200323-0ubuntu6.1), libperl5.30:amd64 (5.30.0-9build1, 5.30.0-9ubuntu0.2), grub-pc-bin:amd64 (2.04-1ubuntu26.4, 2.04-1ubuntu26.6), grub-efi-amd64-bin:amd64 (2.04-1ubuntu26.4, 2.04-1ubuntu26.6), plymouth:amd64 (0.9.4git20200323-0ubuntu6, 0.9.4git20200323-0ubuntu6.1), grub-efi-amd64-signed:amd64 (1.142.6+2.04-1ubuntu26.4, 1.142.8+2.04-1ubuntu26.6), perl:amd64 (5.30.0-9build1, 5.30.0-9ubuntu0.2), accountsservice:amd64 (0.6.55-0ubuntu12~20.04.1, 0.6.55-0ubuntu12~20.04.2), bind9-libs:amd64 (1:9.16.1-0ubuntu2.3, 1:9.16.1-0ubuntu2.4), libaccountsservice0:amd64 (0.6.55-0ubuntu12~20.04.1, 0.6.55-0ubuntu12~20.04.2)
  | Error: Sub-process /usr/bin/dpkg returned an error code (1)
  | End-Date: 2020-10-26  16:03:54

  With apt term.log - https://paste.ubuntu.com/p/5HnGZ43QzH/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1901650/+subscriptions



More information about the foundations-bugs mailing list