-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partition containing ZFS root not decrypted #227
Comments
what version are you using? and you mean disk -> luks -> zfs, right? the latest version in git should handle this. If you can share the output when ugrd runs, that would help. |
I am using the latest git version. Also yes, that is what I mean. I guess looking through the log, it finds the cryptsetup.root perfectly. When I try to boot, it freezes after |
Thanks for the info. Can you try booting with the Looking at the log, the init seems fine.
If it's stalling after it attempts to load modules, I think it could be related to that? That's the only module it tries to load, and you'd see "Unlocking LUKS volumes, ugrd.cryptsetup version: 4.0.4" immediately after module loading completes. |
I'm not too familiar with ZFS, but if you're using a custom kernel, I think it could be possible that a ZFS dependency is missing. I'd assume that would cause it to fail to build, but I've only tested ZFS with dist-kernel. |
When I have the ZFS root (rpool) under a luks encrypted partition, it correctly detects the zfs part of it, but not the encrypted partition that would need to be decrypted at boot. When I manually specify the [cryptsetup.root] with the uuid of the partition, it still seems to not build that into the initramfs, or if it does, it tries the mount the zfs pool before it would try to decrypt the root partition?
Is this because the way zfs mounts doesn't show up in
lsblk
like any other file system?The text was updated successfully, but these errors were encountered: