[Bug 2107408] Re: do-release-upgrade on zfs encrypted, "/boot/efi doesn't look like an EFI partition"

Dan Bungert 2107408 at bugs.launchpad.net
Tue Apr 15 18:17:12 UTC 2025


Confirming that this also happens oracular->plucky with zfs unencrypted.
I have 3 installs now that, if I proceed in spite of the error, the
upgrade does work and the system boots.

-- 
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/2107408

Title:
  do-release-upgrade on zfs encrypted, "/boot/efi doesn't look like an
  EFI partition"

Status in grub2 package in Ubuntu:
  New

Bug description:
  when attempting to do-release upgrade zfs encrypted, grub-install
  fails like follows:

  ---

  Setting up grub-efi-amd64 (2.12-5ubuntu5.1) ...
  Replacing config file /etc/default/grub with new version
  Installing grub to /boot/efi.
  Installing for x86_64-efi platform.
  grub-install: error: /boot/efi doesn't look like an EFI partition
  Configuring grub-efi-amd64
  --------------------------

  GRUB failed to install to the following devices:

  /dev/vda1 (side note: correct device)

  Do you want to continue anyway? If you do, your computer may not start
  up properly.

  ---

  grub-install -v --force /dev/vda1 adds the following info

  ---

  grub-install: info: executing modprobe efivars 2>/dev/null
  grub-install: info: Looking for /sys/firmware/efi ...
  grub-install: info: ...found.
  Installing for x86_64-efi platform.
  grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
  grub-install: error: cannot find EFI directory.

  ---

  Seen on both noble->oracular and oracular->plucky.  I have only tested
  zfs encrypted installs so far but I speculate that zfs unencrypted has
  the same fate.

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




More information about the foundations-bugs mailing list