Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ZFS on LUKS without initramfs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
satanail
n00b
n00b


Joined: 18 Feb 2018
Posts: 21

PostPosted: Sun Nov 25, 2018 2:14 pm    Post subject: ZFS on LUKS without initramfs? Reply with quote

ZFS is built in the kernel and I don't want native zfs encryption, but luks. I have crypt_root and real_root set in cmdline, but if I exclude initramfs I get kernel panic, saying it couldn't find rootfs. I guess, it's because the kernel doesn't know about the LUKS partition, so is there any way to build LUKS into the kernel?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44178
Location: 56N 3W

PostPosted: Sun Nov 25, 2018 2:19 pm    Post subject: Reply with quote

satanail,

You can build the initrd into the kernel but as LUKS is a userspace tool, the real answer is no.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum