~$ sudo swapoff -a
~$ sudo swapon /dev/mapper/cryptswap1
swapon: /dev/mapper/cryptswap1: lezen van kop van wisselgeheugen is mislukt: Ongeldig argument
... which means something like "reading of swap header failed: Invalid argument"...
And it turns out after all this I cannot even reformat or recreate the swap partition in gparted. I get some kind of warning about being unable to inform the kernel of the changes made...
Starting to regret my choice to encrypt the home partition during install :(
On 14.04 I tried all suggested solutions: Puny Geeks step-by-step (see http:// punygeek. blogspot. com/2012/ 10/ubuntu- 1204-how- to-solve- disk-drive- for.html), then again but using /dev/sda8 (swap partition in my case) instead of UUID, then the approach with noauto parameter in fstab and the 5 second delay in rc.local (both see http:// askubuntu. com/questions/ 289858/ disk-drive- for-dev- mapper- cryptswap- 1-is-not- ready) but none worked cross reboots.
One thing I find striking is that now:
~$ sudo swapoff -a cryptswap1 cryptswap1: lezen van kop van wisselgeheugen is mislukt: Ongeldig argument
~$ sudo swapon /dev/mapper/
swapon: /dev/mapper/
... which means something like "reading of swap header failed: Invalid argument"...
And it turns out after all this I cannot even reformat or recreate the swap partition in gparted. I get some kind of warning about being unable to inform the kernel of the changes made...
Starting to regret my choice to encrypt the home partition during install :(