The best solution may involve fixing grub-probe so it knows a ZFS filesystem.
The attached patch is a simple workaround that worked on my 3 test systems.

For example if the patch is downloaded to /tmp/grub2.patch

You can install the patch like this:

cd /etc/grub.d; sudo patch < /tmp/grub2.patch



** Patch added: "Test fix to work around grub-probe failure"
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1894101/+attachment/5440778/+files/grub2.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1894101

Title:
  ubuntu 20.04.1 installed with zfs root fails to boot after installing
  xen-hypervisor

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to