resize swap ubuntu 8.04 hibernate

Resizing Swap Partition Breaks Ubuntu 8.04 Hibernation

Submitted by Eus
on July 27, 2009 - 5:24am

About three weeks ago my employer asked me to shrink the swap partition of a GNU/Linux Ubuntu 8.04 system so as to gain several gigabytes for the root filesystem. After resizing, hibernation failed in a way that although the hibernation process was without any error, turning on the machine again didn't resume the hibernated state. After resizing, the swap space still had enough space for hibernation for sure, and the UUID for the swap space in `/etc/fstab' had been adjusted as well. Just last Friday my employer tried again to solve this problem by googling for information. After a while I got a call, and this time my employer and I found the culprit. Having such an employer is so much fun!