The following patch fixes this by excluding the efi directory from the
"ls" call. It applies on https://git.launchpad.net/~ubuntu-core-
dev/grub/+git/ubuntu/tag/?h=debian/2.12-5ubuntu10

I'm not sure it's the best solution, maybe upstream's 10_linux should be
used instead? Are there still good reasons to maintain a separate file
specifically for Ubuntu. For instance, Debian seems to handle ZFS
properly with 10_linux.

** Patch added: 
"0001-Fix-grub-mkconfig-with-separate-ZFS-dataset-for-boot.patch"
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2110042/+attachment/5876113/+files/0001-Fix-grub-mkconfig-with-separate-ZFS-dataset-for-boot.patch

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

Title:
  grub-mkconfig fails with separate ZFS /boot on EFI systems: "Warning:
  didn't find any valid initrd or kernel"

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


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

Reply via email to