In my Ubuntu 12.04, the hibernation option was working well and fine. However, I installed Debian on another partition recently and when I again tried to boot to Ubuntu, I got a message on the boot splash screen saying :
The disk drive for / is not ready yet or not present. Continue to
wait; or press s to skip mounting or M for manual recovery.
After logging into Ubuntu, I find that my hibernation option has gone missing.
Is there anyway to recover the hibernation option?
EDIT: I solved the disk drive problem and I got the hibernation option back. When I did "sudo pm-hibernate", my system went to hibernation. However, when powering on again, it booted up normally and thus there was no effect of hibernation.
How can this be rectified?
EDIT1: System – Lenovo ideapad s10-2.
EDIT2: /etc/fstab
EDIT3: Screenshot of my hard disk.
Best Answer
I assume you have installed Debian in a way that it uses it's own separate swap partition. If you have not, I would suggest doing so (create another swap partition and change the
/etc/fstab
files accordingly), because too different operating systems writing to the same swap partition may discard hibernation data stored on the partition by the other OS.Then you have to ensure that the OS you want to use hibernation on (usually both), writes to the correct partition. This is configured in the
/etc/initramfs-tools/conf.d/resume
file. You have to put the UUID of the correct swap partition in there (usesudo blkid /dev/$device_name
to get the UUID). Finally you need to update the initial ramdisk:That should fix it.