Open pstch opened 7 years ago
This can also be the cause of issue #22 in the case of encrypted roots.
I can confirm this also causes #22 . I have a (native) encrypted root with zfs v0.8.0-rc2_42_g06f3fc2a4 and grub-probe for / fails in the same way.
Same on Ubuntu 19.10.
It would be very nice to get this fixed because ecryptfs for swap is no option (because of a bug in some load conditions together with zfs) and on many systems it is not needed to encrypt all, but swap. So when you have just one pool configured and you enable encryption on one zfs you get an unbootable system.
Greetings, Lars
# lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan
# dpkg -l libzfs2linux libnvpair1linux grub-pc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-==============-============-=====================================================
ii grub-pc 2.04-1ubuntu16 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii libnvpair1linux 0.8.3-1ubuntu1 amd64 Solaris name-value library for Linux
ii libzfs2linux 0.8.3-1ubuntu1 amd64 OpenZFS filesystem library for Linux
Hi ! I'm not really sure that my problem is related to ZFS encryption, but I can't see what else would make
grub-probe
fail.I'm not really sure that this is caused by the encryption feature, but as it is the last line before
zfs detection failed
, it's my first guess. It seems that all checks have passed (up to check 12), but that something fails after that. y