[Bug 2107408] [NEW] 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 17:25:11 UTC 2025
Public bug reported:
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.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Assignee: Mate Kukri (mkukri)
Status: New
** Tags: foundations-todo
--
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