I got a working desktop computer to put a drive in that was messed up by a chmod command.
I know my drive encryption and home folder encryption passwords which was added on this drive during installation of Ubuntu 14.04.
How do I decrypt and access home-folder-files from this drive?
The disk is encrypted using sda3_crypt
cryptsetup luksOpen /dev/sda3 mycryptdisk
. You should be asked for the passphrase. If successful, you could mount it withmount /dev/mapper/mycryptdisk /mnt
. – Thomas Oct 01 '16 at 11:09sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
http://askubuntu.com/a/333604/601533Result: http://pastebin.com/f1twj0jX
sdb3 is the partition I want to access.
With the cryptsetup line of Thomas, I get
Device /dev/sda3 is not a valid LUKS device.
Switching the position of/dev/sda3
and mycryptdisk I get:Device sdb3 doesn't exist or access denied.
or
Device crypto_LUKS doesn't exist or access denied.
– Delfil Oct 05 '16 at 18:55