I host my home
directory on a hard drive separate from the rest of the Ubuntu install. I recently got a new drive and I'm in the process of migrating my user data from the old drive to the new one.
The problem is: I used ecryptfs to encrypt my user's home directory and now I can't mount the old encrypted directory. I am aware of this similar thread, and I've attempted to use the ecryptfs-recover-private
command as suggested, but I get the following error (updated with the output of dmsg
):
jrsmith3@hermes:~$ sudo ecryptfs-recover-private || sudo dmesg -T | tail -n 5
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/mnt/.ecryptfs/jrsmith3/.Private].
Try to recover this directory? [Y/n]:
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n]
INFO: Enter your LOGIN passphrase...
Passphrase:
Inserted auth tok with sig [154a85415793937b] into the user session keyring
mount: No such file or directory
ERROR: Failed to mount private data at [/tmp/ecryptfs.HUXQDUjB].
[Sun Dec 6 10:21:34 2015] Could not find key with description: [a798123c6b6e6b59]
[Sun Dec 6 10:21:34 2015] process_request_key_err: No key
[Sun Dec 6 10:21:34 2015] Could not find valid key in user session keyring for sig specified in mount option: [a798123c6b6e6b59]
[Sun Dec 6 10:21:34 2015] One or more global auth toks could not properly register; rc = [-2]
[Sun Dec 6 10:21:34 2015] Error parsing options; rc = [-2]
I suspect the problem may not be with ecryptfs; it looks like the error is occuring with the mount
command, but I can't figure it out.
I'm running Ubuntu:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Thanks in advance!