Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Can genkernel initramfs support non luks encryption?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Pale
n00b
n00b


Joined: 23 Sep 2009
Posts: 14

PostPosted: Wed Sep 30, 2015 3:12 am    Post subject: [Solved]Can genkernel initramfs support non luks encryption? Reply with quote

I was able to get luks encryption to auto decrypt during boot by using a keyfile on a external usb storage device, using "genkernel --luks --lvm --install initramfs", and enabling the cryptsetup USE flag. I also had to add crypt_root, real_root, root_keydev, root_key, and dolvm to my kernel parameters.

Can I do basically the same thing in non luks mode? (plain mode i think?) Something like "genkernel --lvm --install initramfs" and then adding the appropriate kernel parameters such as real_root, root_keydev, root_key, cryptkey, crypto, and dolvm.

Like this archlinux guide for mkinitcpio but for genkernel.

I feel like I am probably going to have to learn how to make a custom initramfs.

EDIT:
I don't know about genkernel, but I followed this custom initramfs guide and modified it for my needs.

Thanks gentoo wiki authors! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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