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.

  • Are you sure it is "still intact"? "All of my college stuff is on it" - Please tell me you have backups. – confetti Aug 2 '18 at 3:52
  • it is intact, I can still access all of the OS and programs but my home dir was encrypted – Mutaru Aug 2 '18 at 3:54
  • What happens if you try to mount it? sudo mount -t ecryptfs /path/to/encrypted/dir /mount/point? – confetti Aug 2 '18 at 3:55
  • It asks for passphrase, cipher, key bytes, enable plaintext passthrough , enable filename encryption, and filename encryption key (FNEK) sig – Mutaru Aug 2 '18 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. – confetti Aug 2 '18 at 4:12
0

Was not supplying path.

Solved by running:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.