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

So I decide to move my Swap partition to another HDD to make hibernation more fast, I create a partition with a liveUSB, do swapon, and then hibernate just disappears

I go into the terminal, reactivate hibernate (so the button shows) for some reason the swap wasn't "on" so I do swapon again.

Still not working.

I go back to the terminal and edit the file with the UUID of the new swap partition.

The partition shows as swap on gparted, it's on, the file has the right UUID, even the task manager shows a swap area of 10GB, and there is a hibernate button on the shutdown window. EDIT: it's even using the swap for VM, 7.4% to be precise.

But it-wont-hibernate!

What's going on?

share|improve this question

Have you added your swap space to /etc/fstab? If not, add it like so:

/[your swap path here] swap swap defaults 0 0

When added to fstab, try rebooting. Anything in fstab is mounted automatically on boot, so after that, verify that swap is there with

free -m

More info here (although this example focuses on creating a swap file) :)

share|improve this answer
I got a line that says [UUID] none swap sw 0 0 do I edit that or create a new line? – Ghost Jun 24 '12 at 15:21
Just asking to be sure – Ghost Jun 24 '12 at 15:37
It's hard to know for sure but the old UUID might be to your old swap. Just add another one, won't do any damage to have both (the first one will just consistently fail and move on). If you get it to work, you can try cutting out that line if you suspect it to be old. – pzkpfw Jun 24 '12 at 16:00
The current UUID is the new one – Ghost Jun 24 '12 at 17:05
...and? I'm still waiting for your result, what does free -m say? – pzkpfw Jun 25 '12 at 7:32

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.