Re: Live CD - luks - lvm2 -- Can't mount encrypted lvm2 logical volume via Live CD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 9 Nov 2010 21:47:04 -0500, John wrote:

> Good evening,
> 
> 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)

/dev/sda6 is a logical partition, not a LV.

> 6) modprobe dm-mod
> 7) [root@localhost async_tx]# vgscan
>   Reading all physical volumes.  This may take a while...
>   Found volume group "vg_dubby" using metadata type lvm2
> 8) [root@localhost async_tx]# vgchange -a y vg_dubby
>   3 logical volume(s) in volume group "vg_dubby" now active
> 9) [root@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@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@localhost async_tx]# mount /dev/vg_dubby/lv_root /media/root
> mount: unknown filesystem type 'crypto_LUKS'
> 
> I'm at wits end.  Any suggestions?

You would need to luksOpen /dev/vg_dubby/lv_root and mount the new
mapper device /dev/mapper/crypt1 on /media/root
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux