Live CD + lvm2 + LUKS

John Himpel jwhimpel at gmail.com
Mon Nov 8 23:11:05 UTC 2010


Good afternoon,

While running rawhide, I can no longer boot using rawhide packages from
11/06/2010.  I keep getting asked for the LUKS passphrase.  After I enter
two characters, it says the passphrase is invalid.  My passphrase is about
30 characters in length.

In my efforts to "keep all the pieces", I'm trying to access the lvm logical
volume that is encrypted to save at least some of the pieces.  :-)

I perform the following steps:
1) Boot the live CD (F14) (X64)
2) Open a terminal window
3) su -l root
4) modprobe dm-crypt
5) sudo cryptsetup luksOpen /dev/sda6 crypt1 (sda6 is the encrypted LVM)
6) modprobe dm-mod
7) [root at localhost async_tx]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vg_dubby" using metadata type lvm2
8) [root at localhost async_tx]# vgchange -a y vg_dubby
  3 logical volume(s) in volume group "vg_dubby" now active
9) [root at localhost async_tx]# lvscan
  ACTIVE            '/dev/vg_dubby/lv_root' [50.00 GiB] inherit
  ACTIVE            '/dev/vg_dubby/lv_swap' [9.81 GiB] inherit
  ACTIVE            '/dev/vg_dubby/lv_home' [664.25 GiB] inherit
10) [root at localhost async_tx]# ls -ld /media/*
drwxr-xr-x. 2 root root 4096 Nov  8 22:14 /media/home
drwxr-xr-x. 2 root root 4096 Nov  8 22:14 /media/root
 11)  [root at localhost async_tx]# mount /dev/vg_dubby/lv_root /media/root
mount: unknown filesystem type 'crypto_LUKS'

I'm at wits end.  Any suggestions?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20101108/1f9357db/attachment.html 


More information about the users mailing list