- Check whether swap partition is enabled or not.
Run swapon -s. This will show the swap partition if any. If there is no swap partition listed,
then run blkid command, which will show the partition attributes. Get the partition name from that output.
Open /etc/fstab. Comment existing line for swap partition which will be on UUID based. Use the partition name from blkid like, /dev/sda7 instead of UUID.
Eg: /dev/sda7 none swap sw 0 0
Save and exit. - Install hibernate
apt-get install hibernate
Now your system is ready for hibernation.