Comment 15 for bug 432785

Lars Steinke (lss) wrote :

Well,

I am pretty sure that resume from hibernation did originally work for my fresh 10.10 install on a HP625 using an encrypted home directory (which in turn caused cryptswap to be set up as well).

At some stage that stopped working, though (I suspect it coincided with the installation of kvm but have no way to corroborate that), and I had to disable swap encryption as root, as requested in bug #484373:
1. Disable swapping to cryptswap1 using swapoff
2. Comment out the cryptswap1 line in /etc/crypttab
3. mkswap -L Swap -U e5bb547a-5b28-4c3d-bb00-fb3c94d4870f /dev/sda4
4. Change /dev/mapper/cryptswap1 in /ect/fstab to UUID=e5bb547a-5b28-4c3d-bb00-fb3c94d4870f
5. Change /etc/initramfs-tools/conf.d/resume to RESUME=UUID=e5bb547a-5b28-4c3d-bb00-fb3c94d4870f
6. update-initramfs -c -k all

Hope this helps.
Cheers,
 Lars