Previously, I had installed 10.10 with three partitions – sda1-/boot(ext2) sda2-/(btrfs) sda3- /home(btrfs). And I have chosen encrypted home folder. Now on same machine I have installed 10.04 (LTS) with choosing new /boot on same sda1, / on same sda2 (ext4) and sda3(home) left untouched from earlier install.
My problem is that now I cant access/mount my previous home with ecryptfs-mount-private
util with the passphrase of earlier home user. Here is the ERROR: Encrypted private directory is not setup properly.
I have also installed btrfs utilities.
So are there any solutions/workarounds to gain access to $home on different partition.
Best Answer
Lucky you! I just had the same problem and wrote a script that will facilitate mounting ecryptfs Folders with FNEK.
Then open nano/vim/your editor of choice and create a file
ecryptfs-fnek-helper.sh
with the following contents:This will unwrap your passphrase and add it to the keyring. It will also display the passhprase and the correct FNEK signature, so you can copy/paste them when prompted by mount.ecryptfs.
Make the file executable and run it while still in su: