zfs root with ext3 /boot fails to create grub menu entries

Bug #1889757 reported by Matt Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

10_linux was changed to exit early if / is zfs. That doesn't work if /boot is a ext4 filesystem which should be detected by the rest of 10_linux.
The result is that grub doesn't create any entries for any kernels and the system isn't bootable, manual intervention is required.

I guess it should only "exit 0" if /boot is also zfs.
https://git.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu/tree/debian/patches/ubuntu-zfs-enhance-support.patch?h=focal&id=6c5bbbb53b73060b4e8b1e8c00ab475ddb385b4e#n55

In this case /boot is a symlink into a ext4 filesystem, though I think the same thing would happen with /boot as a toplevel ext4 filesystem.

This is grub2 (2.04-1ubuntu26.1) focal.

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.