Joined: 31 Mar 2013
|Posted: Sun Feb 09, 2014 2:45 am Post subject: Kernel Panic LUKS
|I'm using systemd and I'm trying to encrypt my hard drive. I select my kernel with grub and it starts booting. Then it gets as far s asking for my password and then it opens the LUKS device /dev/sda3. Next it activates Volume Groups and determines the root device. It says "Mounting /dev/mapper/vg_gentoo-root_gentoo as root...".
Then there is a kernel panic:
!! The filesystem mounted at /dev/mapper/vg_gentoo-root_gentoo does not appear to be a valid /, try again
I've tried making my kernel with both gentoo_sources and genkernel and I get the same problem. I prefer making my kernel with gentoo_sources manually rather than using genkernel, although I use genkernel always for my initramfs.
My kernel config is located at http://labibij.hulk.osd.wednet.edu/kernel_config.txt
My /etc/default/grub is located at http://labibij.hulk.osd.wednet.edu/grub_default.txt
My dmesg log is located at http://labibij.hulk.osd.wednet.edu/dmesg.txt
Here is my lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
|-sda1 8:1 0 2M 0 part
|-sda2 8:2 0 32M 0 part
|-sda3 8:3 0 730.7G 0 part
|-vg_gentoo 253:0 0 730.7G 0 crypt
|-vg_gentoo-swap_gentoo 253:1 0 6G 0 lvm
|-vg_gentoo-boot_gentoo 253:2 0 512M 0 lvm
|-vg_gentoo-root_gentoo 253:3 0 718.2G 0 lvm /
sdb 8:16 1 7.3G 0 disk
|-sdb1 8:17 1 7.3G 0 part
loop0 7:0 0 232.6M 1 loop
I'm pretty sure the problem is with the kernel configuration or systemd but I'm not sure and I've done a lot of research and checked many guides. If it is of any help, my grub shows up as many question marks so I just have to press Enter on the first entry which works so far.
Any help would be greatly appreciated.