I recently did a fresh install of Ubuntu (MATE) 16.04 on a new hard drive and used LVM. I created a partition table with separate mount points for
While installing, I did not choose to encrypt whole installation. But going forward, when prompted to name the user, I did select the option to encrypt my home directory. On the first boot, I was provided with a long key, for if I ever needed to decrypt the home directory outside of the installation. So I noted it down.
Now, I attached an external HDD with Ubuntu (Unity) 16.04 already installed (my old hard drive), and ran some commands to detect physical volume, volume group, and logical volume. Then ran a command to activate the logical volumes,
lvchange -ay <path/>, which started displaying the logical volumes as separate drives in
nautilus. Note that I haven't yet been asked for any kind of password to decrypt the drive.
I then try to access my logical volume of home directory using nautilus and find a folder
<username>. In that folder, there are two links to files, as shown in the photograph below.
When I click on either, nautilus tells me that they are links which are "broken" and cannot be opened. I am left with nothing accessible, with a passphrase that I can't enter anywhere.
How should I go about doing this? Although not an urgent matter, I must know how to open my encrypted home folder from elsewhere to be able to access it if required.