You are not logged in.

#1 2014-05-06 22:33:28

danielpublic
Member
Registered: 2011-01-03
Posts: 9

[SOLVED]eCryptfs fails with mount: mount(2) failed: No such file or d

Since some weeks back I cant seem to mount my eCryptfs stuff.
Usually I just mounted my lvmdrive and did a:

sudo mount /dev/sda1 /media/Olddrive;sudo ecryptfs-recover-private /media/Olddrive/home/.ecryptfs/user/.Private;sudo ecryptfs-recover-private /run/media/user/lvmdriveid/.ecryptfs/user/.Private

Hit y,y [password] repeat and there it was, truly bob was my uncle.
However, These days I get a:

Inserted auth tok with sig [key] into the user session keyring
mount: mount(2) failed: No such file or directory

What have changed? neutral

*disclaimer: I might not be supersure about the exact " /media/Olddrive/home/.ecryptfs/user/.Private " as I fiddled a bit with it before I rebooted earlier today after a -Suy.

Last edited by danielpublic (2014-11-01 10:23:35)

Offline

#2 2014-05-08 10:52:54

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED]eCryptfs fails with mount: mount(2) failed: No such file or d

I suggest you check the existence of:

/media/Olddrive
/media/Olddrive/home/.ecryptfs/user/.Private


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-05-31 19:10:36

danielpublic
Member
Registered: 2011-01-03
Posts: 9

Re: [SOLVED]eCryptfs fails with mount: mount(2) failed: No such file or d

Oh those are there all right, as it's what I'm trying to decrypt.

ls /media/Olddrive/home/.ecryptfs/user/.Private
Backup
ECRYPTFS_FNEK_ENCRYPTED.FWbYURBWvLrOrkSYGvbOFsneLZqVKs9T6kr7-jh8R8W3Q91-dgSV9G6CJk--
ECRYPTFS_FNEK_ENCRYPTED.FWbYURBWvLrOrkSYGvbOFsneLZqVKs9T6kr7.K8yTo8IfWrdiwPtkWsvIk--
and on and on it lists.

Suggestions?

Last edited by danielpublic (2014-05-31 19:11:07)

Offline

#4 2014-06-01 08:48:28

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED]eCryptfs fails with mount: mount(2) failed: No such file or d

Huh, that's odd. Maybe /dev/sda1 relocated (highly unlikely, but hey...)


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-11-01 10:37:30

danielpublic
Member
Registered: 2011-01-03
Posts: 9

Re: [SOLVED]eCryptfs fails with mount: mount(2) failed: No such file or d

Forgot to update, in any case I managed to access my data through the old manual way.

cd /run/media/user/harddrive/.ecryptfs/user/.encryptfs
sudo ecryptfs-unwrap-passphrase ./wrapped-passphrase

sudo ecryptfs-add-passphrase --fnek

Inserted auth tok with sig [aaaaaaaaaaaaaaaa] into the user session keyring
Inserted auth tok with sig [bbbbbbbbbbbbbbbb] into the user session keyring
sudo mount -t ecryptfs /run/media/user/harddrive/home/.ecryptfs/user/.Private /media/mountdir

Used default settings execpt for:

Enable filename encryption (y/n) [n]: y

and of course inserted [bbbbbbbbbbbbbbbb] when asked:

Filename Encryption Key (FNEK) Signature [aaaaaaaaaaaaaaaa]: bbbbbbbbbbbbbbbb

Offline

Board footer

Powered by FluxBB