Ubuntu: Mount Encrypted Home Directory (~/.private) From an Ubuntu Live CD

To mount an encrypted home directory (located at ~/.private) from an Ubuntu Live CD, you can use the following steps:

  1. Boot your computer using an Ubuntu Live CD.
  2. Open a terminal window.
  3. Install the ecryptfs-utils package by running the following command:
sudo apt-get update && sudo apt-get install ecryptfs-utils
  1. Mount the encrypted home directory by running the following command:
sudo ecryptfs-recover-private
  1. 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)
  2. 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.
  3. 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.

  1. You can now access your decrypted home directory contents in the mounted directory.
  2. 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.

Leave a Comment