Need help with mounting an encrypted partition
Hi guys.
I am trying to manually mount an encrypted Trisquel partition with a live-CD. This is what I have managed to do so far:
My crypted partition is in /dev/sda6. After runnin the following command,
sudo cryptsetup luksOpen /dev/sda6 crypthome
I could find my "crypthome" in /dev/mapper/crypthome but I could not actually mount it with
sudo mount /dev/mapper/sda6 /mnt
All I got was an error:
mount: unknown filesystem type 'LVM2_member'
Can you help me with this?
@TestingTe: Yes they do.
http://www.linux-sxs.org/storage/fedora2ubuntu.html
This helped a lot. Now I can mount it. Thanks! Although I had to run:
sudo cryptsetup luksOpen /dev/sda6 crypthome
before following the instructions. The vgscan command would not find anything unless I did for some reason.
Based on:
“sudo cryptsetup luksOpen /dev/sda6 crypthome”
Shouldn’t
“sudo mount /dev/mapper/sda6 /mnt”
be
“sudo mount /dev/mapper/crypthome /mnt”
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlIWgh4ACgkQgijxUCZnvltbWgD/fn+BXwxFL9sDaD3rrP73cP4o
IOS5DeqIcmIsGShByOAA+wbEl3UrP8jyCHidjNMsJHmqCxRTh8Eo4yxoF2Prnd1H
=Gzr9
-----END PGP SIGNATURE-----
@oldfolio: yes, that is what it is supposed to be. My mistake. My typo. Still got the same error though.
Problem solved. Thanks everyone for the help!