More Ubuntu Brokenness: hibernate

in

I continue to encounter bugs introduced by the Ubuntu Linux Edgy release. My media computer used to hibernate and resume fine with Dapper. It's been broken ever since the Edgy update.

Hibernation is important for an "appliance" computer such as a media player. It allows you to shutdown and restart the computer quickly. I don't want to have to sit through an entire Linux reboot just to listen to a CD.

Fortunately, this is a known bug with an easy fix. It appears that Edgy switched from identifying disk partitions by their device name (such as /dev/hda2) to a unique UUID identifier. This is good, because device names can change (e.g. you add or move a disk around) but UUIDs should stay constant.

Unfortunately, the UUID of my swap partition never got entered into /etc/initramfs-tools/conf.d/resume file, so the system startup was never configured with the location to look for the hibernation signature. Fortunately, the manual procedure described in the bug report corrected the problem, and now hibernation is working again.