[Bug 1993066] [NEW] 10_linux_zfs produces incorrect grub.cfg when a zfs backup of another encrypted Zsys install exists

Launchpad Bug Tracker 1993066 at bugs.launchpad.net
Mon Oct 17 10:15:25 UTC 2022


You have been subscribed to a public bug by Michael Hudson-Doyle (mwhudson):

10_linux_zfs produces incorrect grub.cfg when a zfs backup of another
encrypted Zsys install exists.

I backed up my other Ubuntu PC via zfs send/recv a snapshot of rpool,
which was stored on another zpool on my main PC. As a ZFS backup, it
contained the complete structure of a Zsys install.

Subsequently, update-grub produced a grub.cfg with no entries.

After destroying the backup, update-grub produced normal results with
kernels being properly detected.

Versions:

Up-to-date Ubuntu 22.04.1
grub-common:
  Installed: 2.06-2ubuntu7

Output when running update-grub with the backup residing on another zpool:
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
Generating grub configuration file ...
zfs_mount_at() failed: encryption key not loadedMemtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
10_linux_zfs produces incorrect grub.cfg when a zfs backup of another encrypted Zsys install exists
https://bugs.launchpad.net/bugs/1993066
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list