0

Recently my primary workstation OS "Linux Ubuntu" failed to boot and has since become irrecoverable, however the encrypted home directory is still intact but i cannot decrypt as it keeps giving me this error

root@Linux:/# ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
find: ‘/run/user/1000/gvfs’: Permission denied
find: ‘/run/user/1001/gvfs’: Permission denied
find: ‘/proc/11132/task/11132/net’: Invalid argument
find: ‘/proc/11132/net’: Invalid argument
find: ‘/proc/11742/task/11742/net’: Invalid argument
find: ‘/proc/11742/net’: Invalid argument
find: ‘/media/USER/MOUNTED_DRIVE/home/.ecryptfs/USER/.Private/ECRYPTFS_FNEK_ENCRYPTED.[long encrypted name]/ECRYPTFS_FNEK_ENCRYPTED.[long encrypted name]/ECRYPTFS_FNEK_ENCRYPTED.[long encrypted name]’: Input/output error
find: ‘/media/USER/MOUNTED_DRIVE/home/.ecryptfs/USER/.Private/ECRYPTFS_FNEK_ENCRYPTED.[long encrypted name]/ECRYPTFS_FNEK_ENCRYPTED.[long encrypted name]/ECRYPTFS_FNEK_ENCRYPTED.[long encrypted name]’: Input/output error

All of my college stuff is on it.

Any help is appreciated.

Thank you.

8
  • Are you sure it is "still intact"? "All of my college stuff is on it" - Please tell me you have backups. Commented Aug 2, 2018 at 3:52
  • it is intact, I can still access all of the OS and programs but my home dir was encrypted Commented Aug 2, 2018 at 3:54
  • What happens if you try to mount it? sudo mount -t ecryptfs /path/to/encrypted/dir /mount/point? Commented Aug 2, 2018 at 3:55
  • It asks for passphrase, cipher, key bytes, enable plaintext passthrough , enable filename encryption, and filename encryption key (FNEK) sig Commented Aug 2, 2018 at 4:02
  • Enter your details then. Passphrase, cipher and key bytes should be known to you (if not, leave defaults for cipher and key bytes). Plaintext passthrough is usually the default. Filename encryption depends on what you set up. Can you see the filenames of the encrypted files? If not, enter Yes. The FNEK sig you can just hit return on that question. Commented Aug 2, 2018 at 4:12

1 Answer 1

0

Was not supplying path.

Solved by running:

ecryptfs-recover-private /media/UUID/home/.ecryptfs/USERNAME/.Pravate

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.