Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel Luks initramfs loading USB modules over key prompt
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
Skinjob2707
n00b
n00b


Joined: 07 Aug 2013
Posts: 57

PostPosted: Tue Nov 05, 2013 9:27 pm    Post subject: Genkernel Luks initramfs loading USB modules over key prompt Reply with quote

I'm trying to update to kernel version 3.12 from kernel 3.8.2 on system where root is encrypted with luks and on an MD Raid partition. When I boot with the new kernel, it prompts for the key to unencrypt and then loads the USB modules before I can type in the password. The system is then locked up and stops booting.

The genkernel command that created the kernel and initramfs:
Code:

 genkernel --oldconfig --install --busybox --luks --mdadm --mdadm-config=/etc/mdadm.conf all



Fstab
Code:

/dev/mapper/crypt-swap1          none            swap            sw,pri=1        0 0
/dev/mapper/crypt-swap2          none            swap            sw,pri=1        0 0
/dev/md1                                 /boot            ext2             noatime         0 1
/dev/mapper/root                      /                  ext4            noatime         0 2
/dev/mapper/home                   /home           ext4            noatime         0 2


mdadm.conf
Code:
ARRAY /dev/md1 metadata=0.90 devices=/dev/sda1,/dev/sdb1 UUID=96208c14:0f566548:cb201669:f728008a
ARRAY /dev/md0 metadata=1.2 devices=/dev/sda3,/dev/sdb3 UUID=f4ef744a:dd628230:41084fd4:26ca71d8
ARRAY /dev/md2 metadata=1.2 devices=/dev/sda4,/dev/sdb4 UUID=431433e7:9cdc0de0:5255827f:42e7644c


Thanks in advance for your help!
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Nov 08, 2013 11:42 am    Post subject: Reply with quote

Try to build in the USB Modules in the kernel.

Edit: I personally suggest you make a kernel config directory in your /root home folder. and use the --old-kernel-config option(please check the manpage of genkernel) instead. It never hurts to have a backup of your config file (external drive too)-
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