/dev/mapper/cryptswap1 is not ready yet or not present

I had this error going for a long time now (usually while my system was loading from a reboot) and my swap space would usually just not work…
I finally had some time to deal with that.
I couldnt even reformat it in gparted or something similar…

This is how I fixed it:

First you turn your swap space off

$ sudo swapoff -a

commented out the existing swap line in /etc/crypttab

comment out the swap line in /etc/fstab

# /dev/mapper/cryptswap1 none swap sw 0 0

reboot your pc/laptop

now you should be working without a swap space, try reformatting your partition in gparted to a linux-swap type (in my case it was /dev/sda3)

after successfully reformatting it, proceed this way: Continue reading “/dev/mapper/cryptswap1 is not ready yet or not present”