mikemoceri wrote:I thought that's how you're supposed to mount LVM volumes. Is there something I'm missing here?
Hello mikemoceri - I know this thread is a bit long in the tooth and I'm sorry for not coming across it sooner.
Here's the procedure I used on my own system, so I can vouch for the fact that it does work. Terminal commands as follows:
1.) sudo apt-get install cryptsetup lvm2 ### These two packages should already be installed, do this just to make sure
2.) sudo modprobe dm-crypt ### Verify the kernel module dm-crypt is active
3.) sudo modprobe dm-mod ### Verify the kernel module dm-mod is active
4.) sudo cryptsetup luksOpen /dev/sdc3 MYDATA ### Unlock the LUKS partition and label it MYDATA; this assumes sdc3 is the encrypted partition
5.) sudo vgscan ### Scan for volume groups; you should find volume group "mint-vg" in the output
6.) sudo vgchange -ay mint-vg ### Make the volume group mint-vg active as well as all of the logical volumes it contains
7.) sudo lvscan ### Scan for logical volumes in the volume group; you should find the logical volume "/dev/mint-vg/root" in the output
8.) sudo mkdir /media/root ### Create a new directory /media/root in order to mount the logical volume /dev/mint-vg/root
9.) sudo mount /dev/mint-vg/root /media/root ### Mount the logical volume /dev/mint-vg/root as /media/root
At this point you should see an icon for /media/root appear on the Desktop. You will be able to copy all of your data files from /media/root over to your new system or to a pre-formatted USB flash drive if you're running from a live CD session. When you're done, unmount as follows:
10.) sudo umount /media/root ### Unmount /media/root
11.) sudo cryptsetup luksClose MYDATA ### Lock the encrypted partition; I got an error message here, but it really doesn't matter since you've already saved your data and will be shutting down
"When you rise in the morning, give thanks for the light, for your life, for your strength. Give thanks for your food and for the joy of living. If you see no reason to give thanks, the fault lies in yourself." - Tecumseh