Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] boot fullcrypt system with usbkeyfile and genkernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
norg
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2010
Posts: 98
Location: Augsburg (Germany)

PostPosted: Sun Apr 15, 2012 8:51 pm    Post subject: [solved] boot fullcrypt system with usbkeyfile and genkernel Reply with quote

Hi,

i'm running full encrypted system (except /boot) and i want to use a keyfile on a usb stick for some testing machines. I use a self made .config so i make every kernel without genkernel, but what i'm doing with genkernel is the initramfs:
Quote:
genkernel --kernel-config=/usr/src/linux/.config --luks --lvm ramdisk

So everything is working as the system is asking for my passphrase. But is there a way to get the system asking for a keyfile on a usbstick? I already added the key with luksAddkey and it's working when i do it manual. Or do i need to create my own initramfs?


Last edited by norg on Sun Apr 15, 2012 10:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
norg
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2010
Posts: 98
Location: Augsburg (Germany)

PostPosted: Sun Apr 15, 2012 10:11 pm    Post subject: Reply with quote

Gnaah, i'm sorry. I just found "root_key" and "root_keydev" options which i can put in the grub config. So it's solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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