Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I recently built a computer with these specs: Asus Motherboard, Intel i3 3.3 GHz dual processor, 8 GB of RAM. I installed 12.04 on a brand new hard drive. I partitioned the hard drive between root, home and swap like I have often read how to do.

I cannot get this machine to properly shutdown. I have to hold the power button down now. Although, for the first few days it properly shutdown.

I also cannot get the system to hibernate or suspend properly. I have read tons on this and watched many YouTube tutorials on how to fix both, but the computer never wakes up after suspend or hibernate. It just stays on a black screen.

Can anyone help? I love 12.04 so far, but these setbacks are making me worried about stability and power management issues. Also, I wonder if it's really bad for the hard drive to force the CPU to shutdown.

share|improve this question
for hibernate… – penreturns Aug 27 '12 at 17:42

By swap he means the swap partition. Swap or paging To check your swap partition, you could do one of these: Go to Ubuntu Software Center, and install gparted. There you can check all your disk partitions.

share|improve this answer

I don't know is you have solved your problem but if not, check if you have enough swap.

The swap partition must provide to receive the contents of the memory. Usually a 1 GB Swap enough. But if you want to hibernate the machine, the easiest way is to make sure the swap size is larger or equal to the amount of RAM you have.

share|improve this answer
Can you expand this answer to explain how to do this? – Eliah Kagan Sep 7 '12 at 3:37
This would only really address the hibernation issue. If there are also issues with shutdown and suspend, then the problem might lie elsewhere. – Sparhawk Nov 28 '12 at 10:38
Swap partition need not be equal to or larger than RAM. Please explain, if it is, or mention the source that claims this to be a criteria. – i08in Jan 5 '13 at 19:42

To use hibernation, your swap partition should be at minimum the same size as your RAM.

In your case it has to be at least 8 GB

share|improve this answer
No, there is no criteria as such, please mention the source where you got this. – i08in Dec 29 '12 at 9:24
i have no idea why I've been down-voted. my answer is similar to slc66's answer(which i edited). I have a windows background so i know the hibernation file is the size of your ram. My ubuntu install did not hibernate until i resized the swap using Gparted @jobin – Inemesit Affia Jan 5 '13 at 18:48
................. – Inemesit Affia Jan 5 '13 at 18:48
As I said earlier, that is no criteria for hibernation to be enabled. And if you still believe it is, please provide a reference as to how you claim this. P.S. I have a 4 GB RAM and approx. 2 GB swap partition and I have hibernation enabled in both my operating systems: Windows 7 as well as Ubuntu 12.10. – i08in Jan 5 '13 at 19:39
@jobin. windows uses a hiberfil.sys file for hibernation but unices use a swap partition – Inemesit Affia Jan 13 '13 at 8:54

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.