I have an unencrypted $HOME (I used the very basic installation with no further partitioning and no encryption at all). Now I want to move my $HOME to an encrypted partition on an external drive (or move it there first and encrypt it later, doesn't matter). What are the steps I have to do assuming I have an unpartitioned drive? What I think is the main problem here for me: how do I mount the encrypted $HOME on login or startup?
Thanks in advance.
EDIT: This blog post is about the ecryptfs-migrate-home
command. But now there is the problem: will it work for a user's home directory on an external drive mounted in /home
?