Fixing hibernate on Edgy Ubuntu
November 27th, 2006After upgrading kubuntu on my Dell Inspiron 640m to Edgy, hibernate no longer worked. After living with it for several weeks and relentlessly checking for software updates, here’s the solution [1]:
Edit /etc/initramfs-tools/conf.d/resume to read,
RESUME=/dev/sda2
Edit /etc/fstab to read,
/dev/sda2 none swap sw 0 0
(removing a similar line that started with “UUID=”)
Rebuild your initramfs,
$ sudo update-initramfs -u
Fix your corrupted swap partition,
$ mkswap /dev/sda2
$ swapon -a
Enjoy your fully-functional linux laptop.