sudo swapoff -aRemove the SWAP line (e.g. /dev/sda3)
sudo cryptsetup remove /dev/mapper/cryptswap1
sudo gedit /etc/crypttab
sudo /sbin/mkswap /dev/sda3Replace /dev/mapper/cryptswap1 with /dev/sda3.
sudo swapon /dev/sda3
sudo gedit /etc/fstab
If you're feeling brave and fancy trying to re-encrypt it, use...
sudo ecryptfs-setup-swapIf it all goes wrong, just repeat the process above.
N.B. Obviously /dev/sda3 in the above example is just that, an example. Replace it with whatever you find in your 'sudo fdisk -l' results.
** To test whether swap is enabled use:
free -m
No comments:
Post a Comment