Comment 11 for bug 105490

Revision history for this message
grahams1 (gps1539) wrote :

I have this issue with 2-6-20-16 when hibernate stopped working and would just bounce back to the screen saver. I finally tracked this down to my swap partition failing to load as the UUID had changed.

After running blkid and editing /etc/fstab with the new UUID, swapon -a loaded swap. I hibernated ok, but then could not resume. I had no swap again and found the UUID had changed again and did so on every reboot !

The following seems to work and stops my swap partition UUID from changing

edit the file '/etc/initramfs-tools/conf.d/resume' (ie sudo vi /etc/initramfs-tools/conf.d/resume) and updated the line that begins 'RESUME=UUID= .... ' with the new swap partition UUID.
edit the swap entry in /etc/fstab with the new swap partition UUID
 'sudo update-initramfs -u' to update the intitrd with the new UUID.

I've hibernated correctly a few times now.