Ingredients
- Ubuntu 16.04
- Linux 4.4.0-47-generic
Antecedents
upgraded Ubuntu from 14.04 from 16.04 months ago (and still regretting it)
modified user and root passwords some time ago
the filesystem is encrypted (I claim I recall the password)
computer not used for a few weeks (immaterial, perhaps, but the only thing worth mentioning)
Problem
After a time off, I turned on the computer.
The Ubuntu greeter asks me for the encryption password in a bizarre way: the string Please enter passphrase for disk <disk ID> (cryptswap1) on none!:
disappears immediately.
I regain the view of this string when I start typing the passphrase/password (the terminology is actually ambiguous). I claim I do recall this encryption password.
When I then splash in the user-selection screen and try to log in, this screenful falls into a loop. So I never log in. Note that this is not a question of incorrect passwords.
Research
The way I would normally work around this in another computer in similar circumstances, is to go to tty1
, log in and launch sudo ecryptfs-mount-private
and give my encryption passphrase there. Now, rather, I get the message
ERROR: Encrypted private directory is not set up properly
If I ask ecryptfs-verify -p
(source Cannot mount encrypted home after password change, ecryptfs not configured (no passphrase set)), the diagnosis is
ERROR: [/home/user/.ecryptfs] does not exist
ERROR: Configuration invalid
If I ask sudo ecrypts-recover-private
(source ecryptfs-mount-private ERROR), the result is
find: @/run/user/104/gvfsA: Permission denied
Again, the only thing happening between the system when it worked and the system as it does not work is that I did not use the computer in the meantime.
However, I will add that, after the persistence of the problem had been established and while I was in tty1
, I launched a sudo apt-get update && sudo apt-get upgrade
in the hope that rejuvenating the system would do no harm. Interestingly, during the installation process, I had to type in the encryption passphrase/password several times, without complaints being thrown at that (a proof that I recall that password?)
Addition 6 Dec If I go to tty1
I can actually see the directory tree unencrypted, to my surprise. Hence, I deduce that the encryption has disappeared unawares of me and the graphical user interface cannot cope with this.
Questions
A reasonable explanation of what this diagnostics means (in terms of reliability of the system), and some instructions to regain access to my filesystem with the desktop environment once again, svp.
/home/.encryptfs
subdirectory any longer. Would you perhaps recommend/provide instructions to re-encrypt the home directory from the live USB? – XavierStuvw Dec 11 '16 at 20:44