Have trolled the forums for the following but can't say I've seen a solution to the problem. After installing baselayout-2 and openrc I get everything to come up except for my dmcrypt filesystems. The problem seems related to / being mounted read-only at the time dmcrypt systems are being mounted. I also have an interesting LVM error. This looks to me like an initialization order problem, but I'm at a loss right now. Any advice would be helpful.
This is not a genkernel. This system was booting ok prior to upgrade. The following snips are in order of boot. Seems to me that dmcrypt is coming in slightly early in the boot process.
LVM error:
Locking type 1 initialisation failed.
First dmcrypt problem:
* dm-crypt map crypt_swap ...
* cryptsetup will be called with : -c aes -h sha1 -d /dev/urandom create crypt_swap /dev/sda2
[ ok ]
* Running pre_mount commands for crypt_swap ...
[ ok ]
mkdir: cannot create directory `/mnt/remdev.2185': Read-only file system
Second dmcrypt problem:
My home directory is encrypted and this doesn't even come up as an option any more. The only thing I see is the following error:
* Remounting root filesystem read/write ...
[ ok ]
* Updating /etc/mtab ...
[ ok ]
* Mounting local filesystems ...
mount: special device /dev/mapper/crypt_home does not exist
* Some local filesystem failed to mount
[ !! ]
here's my rc-status boot (which looks good to me):
rc-status boot
Runlevel: boot
hwclock [ started ]
modules [ started ]
lvm [ started ]
device-mapper [ started ]
dmcrypt [ started ]
fsck [ started ]
root [ started ]
mtab [ started ]
localmount [ started ]
hostname [ started ]
sysctl [ started ]
bootmisc [ started ]
termencoding [ started ]
consolefont [ started ]
keymaps [ started ]
urandom [ started ]
net.lo [ started ]
alsasound [ started ]
procfs [ started ]
swap [ started ]
Currently I have rc_hotplug="NO" and rc_coldplug="YES", but have tried rc_hotplug="YES" to no effect.
Thanks Uberlord! The code is beautiful and the speed is blazing!
Success is the ability to go from one failure to another with no loss of enthusiasm. - Winston Churchill