To mount an encrypted home directory (located at ~/.private
) from an Ubuntu Live CD, you can use the following steps:
- Boot your computer using an Ubuntu Live CD.
- Open a terminal window.
- Install the ecryptfs-utils package by running the following command:
sudo apt-get update && sudo apt-get install ecryptfs-utils
- Mount the encrypted home directory by running the following command:
sudo ecryptfs-recover-private
- You will be prompted to enter your login passphrase. Enter the passphrase that you use to log in to your encrypted home directory. (https://midwaymoving.com)
- The ecryptfs-recover-private command will locate and mount the encrypted home directory. The decrypted directory will be mounted at a temporary location, such as
/tmp/ecryptfs.xxxxxxxxxx
. - Navigate to the decrypted directory by running the following command:
cd /tmp/ecryptfs.xxxxxxxxxx/home/.ecryptfs/USERNAME/.private
Note that you will need to replace USERNAME
with your username.
- You can now access your decrypted home directory contents in the mounted directory.
- To unmount the decrypted directory, run the following command:
sudo umount /tmp/ecryptfs.xxxxxxxxxx
By following these steps, you can mount an encrypted home directory from an Ubuntu Live CD and access its contents.