So, the main situation was described here. So far there is a laptop with Windows 8/upgraded Ubuntu Mate 18.04 in dual boot. Once the original encrypted /home/user directory was locked by a passphrase, I booted through "Live CD/USB", changed the password via "Try Ubuntu" option and since then Ubuntu Mate boots into a default "Try Ubuntu" 20GB desktop, with ~330GB of home directory locked under passphrase.
As is suggested here:
In short:
- Log in as root.
- Move the encrypted home directory so it mounts not on the home directory, but on a directory called
Private
in your home directory. - Move everything out of the
~/Private
directory into~
. - Remove ecryptfs if desired.
I can't copy 330GB directory on the same 500GB laptop. Is it possible to mount it on a removable hard disk, do the necessary stuff, boot into original /home/user directory, remove encryption and copy this directory back to the laptop?
As I was planning to install ubuntu Mate 22.04 here, maybe during installation or upgrade
the old /home/user directory would be preserved and there would be a remove encryption option?
In the /home/user/.ecrypttfs there are files: auto-mount, auto-umount, Private.mnt, Private.sig, wrapped-passphrase. Maybe something can be done with them?
I actually currently boot under the host name, rather than user, so root is also under the host name.