Getting hibernate working on Ubuntu 10.4 on an ACER Aspire 5920 with encrypted swap
Ubuntu 10.4 did suspend correctly but it did’nt resume from hibernate.
The solution is:
1. Add a file on /etc/initramfs-tools/conf.d/ named “resume” with the contents:
RESUME=/dev/mapper/cstorage-lv_swap
Where /dev/mapper/cstorage-lv_swap has to be replaced with your swap partition (see /etc/fstab)
If you have a device by UUID the format would be:
RESUME=UUID=9ced1bec-ed44-4fde-96a6-7c8e29ab35d1
2. Update the initramfs:
sudo update-initramfs -u
After that and without anything else, it got working. I dont realy understand why it has to be done by hand and I’m not sure if the encrypted swap had something to do with it or not, but It finally works.










