I had an Encrypted Home Directory In Ubuntu, but I had another 119 Gig partition available and empty on my 256 Samsung SSD.
Login to old 14.04 32 Bit Ubuntu OS partition:
dpkg --get-selections > ~/Package.list
sudo cp -R /etc/apt/sources.list* ~/
sudo apt-key exportall > ~/Repo.keys
Install 64 bit Ubuntu to Other Partition
Login to 14.04 64 bit Ubuntu on Other Partition
(I want to Preserve my playonlinux settings to run windows programs and preserve play(Acrobat 10, Word 2010) so I install it.)
sudo apt-get install playonlinuxOpen Playonlinux - Let it completely finish setting up.
Make sure the other drive with your old files is mounted. Click on the drive icon in Ubuntu to Mount and then open terminal and type:
Either enter 32bit user password or, if unavailable passphrase generated from 32 bit command ecryptfs-unwrap-passphraseI tried using Ubuntu Backup and it would break X and make it crash while overwriting the home directory. I tried looking into ways to make deja-dup not crash and while I did find a method using gksu, I eventually resorted to using screen.
sudo apt-get install screenUbuntu automagically logs you out when some particular file is overwritten in your home directory. Log back in and open terminal
sudo cp -r -a -v /tmp/ecryptfs.XXXXXXXX/. /home/user/
Once complete, install old packages:
sudo apt-key add ~/Repo.keys sudo cp -R ~/sources.list* /etc/apt/ sudo apt-get update
sudo apt-get install dselect
sudo dselect access
sudo dselect update
sudo dpkg --set-selections < ~/Package.list
sudo apt-get dselect-upgrade -y
Reboot the computer
This got me back pretty close to my old installation. I'm fairly certain that the majority of my packages are back, but also there is an issue.