Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 6136  / 2 Years ago, fri, june 10, 2022, 6:24:26

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.



enter image description here



EDIT2: /etc/fstab



enter image description here



EDIT3: Screenshot of my hard disk.



enter image description here


More From » hibernate

 Answers
4

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 (use sudo blkid /dev/$device_name to get the UUID). Finally you need to update the initial ramdisk:



sudo update-initramfs -u -k all


That should fix it.


[#35587] Saturday, June 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bjecterless

Total Points: 59
Total Questions: 96
Total Answers: 105

Location: Argentina
Member since Thu, Mar 18, 2021
3 Years ago
;