ecryptfs - Trying to mount old encrypted home - Ask Ubuntu
i installed fresh ubuntu 10.10 onto new hard drive , want mount old home directory subdirectory of new (also encrypted) home directory.
i tried sudo mount -t ecryptfs /mnt/oldhome/me/ /home/me/oldhome, /mnt/oldhome being /home partition of old system.
afterwards ~/oldhome contains desktop link file (access-your-private-data.desktop) linking ecryptfs-mount-private , readme.txt saying should run ecryptfs-mount-private. so, don't know supposed happen, can't tell if happens , if brings me closer accessing old home.
any hints?
update
i able mount old encrypted home of this script. though, looking ls, alot of errors this:
ls: cannot access /mnt/oldme/some_file: no such file or directory other information ls -l should show, replaced question marks.
update 2
i mounted old system /mnt/oldroot , mount /dev, /sys, /proc , old home partition into. chrooted /mnt/oldroot, su - me , ecryptfs-mount-private. asked passphrase put in , got:
error: unwrapping passphrase , inserting user session keyring failed [-5] info: check system log more information libecryptfs error: passphrase incorrect ecryptfs-unwrap-passphrase gives me exact same passphrase used, though.
i recommend use ecryptfs-recover-private utility in these cases.
a full explanation of how use available here.
Comments
Post a Comment