Need help with mounting an encrypted partition

6 Antworten [Letzter Beitrag]
lammi87

I am a member!

Offline
Beigetreten: 07/27/2012

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
Offline
Beigetreten: 08/19/2013
lammi87

I am a member!

Offline
Beigetreten: 07/27/2012

@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.

oldfolio
Offline
Beigetreten: 06/20/2013

Based on:

“sudo cryptsetup luksOpen /dev/sda6 crypthome”

Shouldn’t

“sudo mount /dev/mapper/sda6 /mnt”

be

“sudo mount /dev/mapper/crypthome /mnt”

lloydsmart

I am a member!

Offline
Beigetreten: 12/22/2012

-----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-----

lammi87

I am a member!

Offline
Beigetreten: 07/27/2012

@oldfolio: yes, that is what it is supposed to be. My mistake. My typo. Still got the same error though.

lammi87

I am a member!

Offline
Beigetreten: 07/27/2012

Problem solved. Thanks everyone for the help!