Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374913 - After booting into an encrypted system, /dev/mapper/root is missing
Summary: After booting into an encrypted system, /dev/mapper/root is missing
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: Normal major
Assignee: Gentoo Linux bug wranglers
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 07:50 UTC by Sebastian Heyn
Modified: 2011-07-14 09:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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