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.

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 (https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap), 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
    
Does this help? How can I install Ubuntu encrypted with LUKS with dual-boot? –  ignis Sep 5 '13 at 16:48
    
Possibly this guide to install Tux on Ice could be solution for you: askubuntu.com/a/356289/58470 –  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

 
discard

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

Browse other questions tagged or ask your own question.