Here it goes, what I’ve learned today about LVM encryption:

To have access to my encrypted volume group, from an Xubuntu live install cd, I had to:

sudo apt-get install lvm2 cryptsetup

sudo modprobe dm-mod

(this is for preventing the error “mount: unknown filesystem type ‘LVM2_member’”)

Then we check out the partition table with the GParted and go after the ” unkown” partition:

gparted

Then we decrypt the volume with the passphrase:

ubuntu@ubuntu:~$ sudo cryptsetup luksOpen  /dev/sda5 cryptodisk
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.

(where /dev/sda5 is the device that appears as ” unkown” to the GParted )

Here the name of the volume group is razorgirl

And the devices will appear on my /dev tree, as /dev/razorgirl/root, /dev/razorgirl/home, etc

So I can do now:

sudo mkdir /mnt/razorgirl
sudo mount  /dev/mapper/razorgirl-root  /mnt/razorgirl

And start all the burocracy of the chroot and the reinstall of the linux image, that the sucker of course forgot to delete…

ubuntu@ubuntu:~$ sudo mount /dev/mapper/razorgirl-home /mnt/razorgirl/home
ubuntu@ubuntu:~$ sudo mount /dev/mapper/razorgirl-usr /mnt/razorgirl/usr/
ubuntu@ubuntu:~$ sudo mount /dev/mapper/razorgirl-var /mnt/razorgirl/var
ubuntu@ubuntu:~$ sudo mount /dev/mapper/razorgirl-tmp /mnt/razorgirl/tmp/

That will have to wait till I come back from the Hackmeeting.

But at least I get the contents!

Special note to the motherfucker:
I think I will start a mailing list for all the loosers like you that hate me and cannot accept the fact that I got bored of their bullshit. But to fuck me up takes much more, sucker. You’re not even worth revenge. And thanks for all I’ve learned today about LVM)

References:
Mounting a Linux LVM volume