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

So I recently installed 13.04 and chose full disk encryption (I didn't bother to encrypt home too - seemed pointless), and I'm wanting to encrypt my swap drive, and also enable hibernate so I can be as secure as possible. I haven't been able to find much information that pertains to my exact set of circumstances, and although I found this webpage (, it says it has only been tested with 12.04.

In any case, I went ahead and tried that and once I got to step 6 under "How to setup hibernation", I got an error stating that:

swapon: /dev/mapper/ubuntu--vg-swap_1: read swap header failed: Invalid argument

I don't know if I've FUBARED it or if a few commands can fix it, it doesn't really matter because I did all of this on a fresh install and there is no files I'm worried about losing.

Can anyone help me get this working?

share|improve this question
Possibly this guide to install Tux on Ice could be solution for you: – Dee Oct 10 '13 at 14:05
Similar setup, using uswsusp: Encrypted home partition + encrypted swap + working hibernate – nh2 Dec 26 '13 at 22:48

Your Answer


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

Browse other questions tagged or ask your own question.