After upgrading to Hardy, hibernate stopped working. Usplash would show the animated splash screen for a few seconds on boot, then it would go away an I would see a text boot screen starting with the “Reading files needed to boot” text. The system would go into hibernate normally, but would never boot back to where I was, it was like I’d never hibernated. After a bit of digging, I found the problem. The UUID for my swap file system was not the same as the value entered for the resume file system in initramfs. Here is the steps required to fix this problem:
1. Make sure you have the initramfs-tools update
sudo apt-get install initramfs-tools
2. Run the blkid util to show what your existing UUIDs are.
root@hardy-desktop:~# sudo blkid
/dev/sda1: UUID="a76fe101-7951-4a65-af1e-50b2902c5b35" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="8dd072f1-25b3-4a7f-888f-2314697d60b9"
3. Verify that the UUID listed for the swap partition in the previous step matches what is listed in /etc/fstab
root@grigsby-desktop:~# cat /etc/fstab
proc /proc proc defaults 0 0
UUID=a76fe101-7951-4a65-af1e-50b2902c5b35 / ext3 relatime,errors=remount-ro 0 1
UUID=8dd072f1-25b3-4a7f-888f-2314697d60b9 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
4. Modify the UUID in /etc/initramfs-tools/conf.d/resume file to match the UUID listed for the swap partition from blkid.
root@hardy-desktop:~# cat /etc/initramfs-tools/conf.d/resume
root@hardy-desktop:~# sudo vi /etc/initramfs-tools/conf.d/resume
5. Update the initramfs.
sudo update-initramfs -u
6. Restart the system.