I have a Windows 10 in Local Disk (C:) and a Linux Ubuntu 14.04 in Local Disk (D:). When I wanted to install Ubuntu for the first time, I turned off the Hibernation in Windows. Could I enable it again in Windows? and Could I enable Hibernation in Ubuntu? If I enable "Hibernate" in Windows/Ubuntu, Do I face some problems (like loss of data) or not? Thanks.
You can read the official documentation here and first you need to test if hibernate works or not.
- Press Ctrl+Alt+T to open a terminal
sudo pm-hibernateand press enter.
- You might be asked for your login password. Type it.
- Your computer should turn off.
- Switch it back on.
If you application (such as the terminal you used above) are still there, that means hibernation works!
If your machine rebooted from scratch after you turned it on, or if it didn't turn off at all (i.e. if it only blinked and came back online immediately), then it means hibernation doesn't work yet on your computer.
If hibernation works, you can enable it by editing a PolKit file, by typing this command on the same terminal you opened above:
sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
and add the following text into that file:
[Re-enable hibernate by default in upower] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes [Re-enable hibernate by default in logind] Identity=unix-user:* Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions ResultActive=yes
Save by pressing Ctrl+O then enter and then exit nano by pressing Ctrl+X. Now the hibernation should ready to be use by you, this should work.