Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu on my Windows 7 Sager laptop using Wubi. Hibernate (i.e. suspend to disc) is not an option from the power icon, only suspend, shutdown, etc. Hibernate is also not an option from my battery/lid close options. I understand that hibernation is disabled by default in Ubuntu 12.04. I tried running pm-hibernate but I get the following message:

Looking for splash system... none 
s2disk: Snapshotting system

and then the computer just hangs with a black screen. According to the documentation here if this fails then I can't enable hibernate but it offers no help in making pm-hibernate succeed.

Could swap be my problem? It looks like I have very small swap:

user@ubuntu:~$ cat /proc/swaps
Filename                Type        Size    Used    Priority
/host/ubuntu/disks/swap.disk            file        262140  0   -1

The advice on SwapFaq is only for the author's set up (e.g. I don't have an Ubuntu install disk since I used Wubi) and he says that 'INFO: This will not work for 12.04, resume from hibernate work differently in 12.04.'

Any advice? I really need to get hibernate working to use my laptop as a, er, laptop.

Thanks

share|improve this question
add comment

1 Answer

Unfortunately, hibernation is not supported for Wubi systems (see this page).

If you want to be able to hibernate your Ubuntu system, you'll have to do a standard installation (alongside, instead of inside, your Windows system) by booting from an Ubuntu CD/DVD or USB flash drive and running the installer.

bcbc has explained this further:

You can't hibernate a Wubi install unless you also have a swap partition. You're using a swap file so increasing the size won't help. There is a way to hibernate with a swap file, but I've never seen anyone get it to work on Wubi.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.