Around Aug 15,2018, I upgraded from 16.04LTS to 18.04LTS using, IIRC, the gui shown here:
I also remember making some change which enabling printing to the console extensive boot info.
However, when booting, the console messages sometimes stop at:
[ OK ] Started Console Manager. tion 45s after completed startup. Starting Update UTMP about System Runlevel...
but other times (most recently) the console boot msgs stop at:
[ OK ] Started Daily apt download activities
I've googled and read and tried several solutions, none of which work. In particular, I've tried solutions posted on following urls:
Upgrade from 14.04 "Started Update UTMP about System Runlevel Changes"
While booting stops at Started Update UTMP about System Runlevel Changes
as well as solutions posted on several other urls. I've also got a text file logging my attempts, but that's > 800 lines long. A link to the log file is here:
https://paste.ubuntu.com/p/pHvdcrNfKw/
At around 800 of that file, it shows I no longer have a write home directory. That may have something to do with the (probably rash) attempt at avoiding the login msgs containing:
Could not find key
That attempt involved simple renaming instead of deleting the ~/.Private and ~/.ecryptfs files.
Are the files in my home directory lost forever (except for the backups)?
On yesterday, was able to recover my home directory by reinstalling ecryptfs-utils and then using ecryptfs-mount-private; however, still getting the message (in /var/kernel.log) about not finding key and still no gui login screen appears.
Tried solutions described from here:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1718658
in particular the keyctl link @u @s
command, but that made no difference.
On 2018-09-13, found this page:
How to Encrypt /home on Ubuntu 18.04?
which, in a comment by SunnyDaze, said:
can't mount it new because "encrypt home folder" option is gone now from the installer? We can't even log in.
which sounds a lot like my problem. Will look further on that page for answers.