Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374913

Summary: After booting into an encrypted system, /dev/mapper/root is missing
Product: Gentoo Linux Reporter: Sebastian Heyn <mail>
Component: [OLD] baselayoutAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: https://bugs.gentoo.org/show_bug.cgi?id=317933
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Heyn 2011-07-12 07:50:44 UTC
As mentioned above /dev/mapper/root is missing. 
This bug has been reported before, but seems to reappear on my system
I rate this as major, because rootfs is not checked at boot time which i find critical for system stability.



Reproducible: Always

Steps to Reproduce:
1. Encrypt the system
2. Boot

Actual Results:  
fsck doesnt find /dev/mapper/root

Expected Results:  
fsck should find /dev/mapper/root

server ~ # mount
rootfs on / type rootfs (rw)
/dev/mapper/root on / type ext2 (rw,noatime,errors=continue)


server ~ # ls /dev/mapper/
control  datadrv


server ~ # emerge udev genkernel gentoo-sources -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-kernel/genkernel-3.4.10.907-r1  USE="-bash-completion (-ibm) (-selinux)" 0 kB
[ebuild   R    ] sys-fs/udev-164-r2  USE="-build -extras (-selinux) -test" 0 kB
[ebuild  NS   ~] sys-kernel/gentoo-sources-2.6.39-r2 [2.6.38-r5] USE="-build -deblob -symlink" 0 kB

Device mapper is installed into the kernel, not as module.
The initial ramdisk is created with
--no-ramdisk-modules --luks --disklabel
Comment 1 Pacho Ramos gentoo-dev 2011-07-12 09:48:56 UTC
Please post "emerge --info" output