The solution I found is to:
- Edit /etc/fstab and change the start of the swap line from UUID=xxxx to /dev/hdaX (where /dev/hdaX is your swap partition).
- Re-create the swap partition with mkswap /dev/hdaX. Make sure /dev/hdaX is your swap partition as this command will erase the contents of that partition.
- Edit /boot/grub/menu.lst and edit the # defoptions= comment to include resume=/dev/hdaX
- Run update-grub to re-generate the grub menu file
- Reboot
- Confirm that swap is active
- Hibernate to disk and resume as you used to
This is discussed in Ubuntu bug 66637 where the suggested fix is to set RESUME=UUID=yyyyy in /etc/initramfs-tools/conf.d/resume and run update-initramfs -u
No comments:
Post a Comment