You are not logged in.

#1 2010-11-18 09:45:35

deconstrained
Member
Registered: 2008-03-31
Posts: 49

lvm2 on LUKS @ boot time: volume group found but not importing

I have so far succeeded in making ArchLinux boot as far as properly asking for my encrypted partition's passphrase and unlocking the encrypted partition (/dev/sda2) whererein lies the root filesystem; the encrypted partition contains a lvm2 group that has logical volumes on it for swap and root.  However, instead of importing the group, it simply acknowledges that one exists;

:: Running Hook [lvm2]
Scanning logical volumes...
  Reading all physical volumes. This may take a while...
  Found exported volume group "crypt" using metadata type lvm2
Activating logical volumes...
   Volume group "crypt" is exported
Waiting 10 seconds for device /dev/mapper/crypt-root ...
Root device '/dev/mapper/crypt-root' doesn't exist. Attempting to create it

Should I just increase timeout (and how do I?), or is there something else I must enable? The last 4 of my hooks are (and I know them by heart at this point): usbinput encrypt lvm2 filesystems. I do not have

I am at my wits' end. I've tried everything from different mount points in fstab (i.e. /dev/crypt/root instead of /dev/mapper/crypt-root) to putting the encrypted partition in /etc/crypttab to changing the order of "root=" and "cryptdevice=" in the kernel parameters in menu.lst, and this is as far as I have gotten.

Last edited by deconstrained (2010-11-18 11:33:47)

Offline

Board footer

Powered by FluxBB