Comment 18 for bug 1802617

Revision history for this message
Michael De Marco (micydem) wrote :

I got the same issue after upgrading from 18.04 to 20.04. I followed the steps from #11 and then reversed them to fix the issue and re-enable swap encryption

1) sudo swapoff -a
2) sudo cryptsetup remove cryptswap1
3) edit `/etc/fstab`, comment the line mentioning cryptswap1
4) edit `/etc/crypttab `, comment the line mentioning cryptswap1
5) sudo update-initramfs -u
6) sudo update-grub
7) reboot
8) edit `/etc/fstab`, uncomment the line mentioning cryptswap1
9) edit `/etc/crypttab `, uncomment the line mentioning cryptswap1
10) sudo update-initramfs -u
11) sudo update-grub

checking the status of the swap

$ sudo cryptsetup status /dev/mapper/cryptswap1
/dev/mapper/cryptswap1 is active and is in use.