[Bug 1889757] [NEW] zfs root with ext3 /boot fails to create grub menu entries
Matt Johnston
1889757 at bugs.launchpad.net
Fri Jul 31 10:13:33 UTC 2020
Public bug reported:
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.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
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/1889757
Title:
zfs root with ext3 /boot fails to create grub menu entries
Status in grub2 package in Ubuntu:
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1889757/+subscriptions
More information about the foundations-bugs
mailing list