You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I tried installing CachyOS with Grub and encrypted ZFS root, but after installation begins, when the installer partitions the disk and creates the zpool, the installation fails with "Failed to create zpool" and aborts. Using the same partition layout but without encryption, the installation completes and the system boots successfully, so the only difference is the ZFS encryption.
I know that Grub does not support booting straight from ZFS, so I created a 2GB ext4 /boot partition (in addition to the ESP). As I said, when I use the same layout without encryption, the system boots successfully.
I have a different machine running CachyOS on encrypted ZFS root with systemd-boot and it works without issues. But since I want to dual boot with Windows, I can't use systemd-boot. In the past I had Ubuntu running with encrypted ZFS root and Grub (following this guide) so I would assume that it should also work in CachyOS.
When installing without encryption, the system boots successfully. When I then try to create an encryted dataset (e.g. for sensitive data), the same error is shown:
Describe the bug
I tried installing CachyOS with Grub and encrypted ZFS root, but after installation begins, when the installer partitions the disk and creates the zpool, the installation fails with "Failed to create zpool" and aborts. Using the same partition layout but without encryption, the installation completes and the system boots successfully, so the only difference is the ZFS encryption.
I know that Grub does not support booting straight from ZFS, so I created a 2GB ext4 /boot partition (in addition to the ESP). As I said, when I use the same layout without encryption, the system boots successfully.
I have a different machine running CachyOS on encrypted ZFS root with systemd-boot and it works without issues. But since I want to dual boot with Windows, I can't use systemd-boot. In the past I had Ubuntu running with encrypted ZFS root and Grub (following this guide) so I would assume that it should also work in CachyOS.
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: AMD RX 7800 XT
UEFI boot
1TB NVME SSD
GPT partition table:
512M fat32 /boot/efi flags: boot
2048M ext4 /boot
(remaining) zfs / encrypted with passphrase
32G swap
I want to point out that in the install log, the following error appears:
When installing without encryption, the system boots successfully. When I then try to create an encryted dataset (e.g. for sensitive data), the same error is shown:
So maybe the encryption feature doesn't get enabled when Grub is chosen?
To Reproduce
Expected behavior
Install on encrypted ZFS root should work with grub.
Screenshots and Logs
Install log: https://termbin.com/jpo7
Additional context
The text was updated successfully, but these errors were encountered: