Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suspend and Hibernate was not working in my Ubuntu 11.04 and I followed these instructions to fix the issue by installing uswsusp.

The commands s2ram and s2disk were working fine for me and hence I replaced the contents of hal-system-power-suspend-linux and hal-system-power-hibernate-linux as directed in the above link.

Now after my upgrade to Ubuntu 11.10, I am unable to hibernate my system. How to rectify this issue? Is there any config file which I need to change for hibernate to function properly?

share|improve this question
Welcome to Ask Ubuntu! We need more hardware information to help you, can you look at this question and then edit your question adding the information. – Jorge Castro Oct 15 '11 at 22:11
up vote 3 down vote accepted

Please make sure that your swap is mounted correctly. Edit the /etc/fstab/ file using the nano editor:

sudo nano /etc/fstab

When the /etc/fstab is opened, go to the line where you can read: ” # swap was on /dev/…..” immediately after this line, I mean the next line, be sure there is no ”#”. If there is a ”#” starting this following line, just delete it. Then press Ctrl+O and after that Enter to save the changes you made to fstab, then Ctrl+X to exit nano. Now your swap space will be active for hibernation after the next reboot.

sudo apt-get install uswsusp

...and restart your computer.

share|improve this answer
Hi, the hibernate problem was recctified automatically. Now am able to suspend and hibernate without any issues. Anyways, thanks for your reply. It might be usefull for others. – Vivek Oct 31 '11 at 6:53
Thanks a lot, uswsusp saved me. I'm still unclear on whether or not it is cleaner to use swsusp as mentionned here but for now, it will totally do! – Augustin Riedinger Mar 25 '15 at 9:09
After taking the above steps, my ubuntu takes forever to start. The five dots below ubuntu keep on running indefinitely. help!! – MycrofD Jul 2 '15 at 11:35

Your Answer


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.