mit Asked: 2011-04-12 06:18:54 +0800 CST2011-04-12 06:18:54 +0800 CST 2011-04-12 06:18:54 +0800 CST How to disable cryptswap? 772 How can I disable cryptswap? I would like an unencrypted swap like before. This is on an ubuntu 9.10 system. filesystem 3 Answers Voted user24713 2012-03-05T08:50:47+08:002012-03-05T08:50:47+08:00 To remove crypt mapping use something like this: cryptsetup remove cryptswap1 Or just reboot the computer. If you remove/comment lines from /etc/crypttab and /etc/fstab, encrypted swap will not created on the next boot. Rory Alsop 2011-04-12T11:45:34+08:002011-04-12T11:45:34+08:00 If you used cryptsetup to create your encrypted swap, you can easily reverse the process: Currently your /dev/hda? will be mapped to cryptswap (something like cryptsetup luksOpen /dev/hda4 cryptswap) so first disable the line in /etc/crypttab that mentions cryptswap and remove the cryptswap line from /etc/fstab Then use cryptsetup to remove the crypt mapping. At this point you can remove the swap partition and recreate it as an ordinary partition Best Answer dmoebius 2012-08-20T15:10:22+08:002012-08-20T15:10:22+08:00 I followed this explanation (currently down, see its google cache), and it worked without any problems.
To remove crypt mapping use something like this:
cryptsetup remove cryptswap1
Or just reboot the computer. If you remove/comment lines from
/etc/crypttab
and/etc/fstab
, encrypted swap will not created on the next boot.If you used cryptsetup to create your encrypted swap, you can easily reverse the process:
Currently your /dev/hda? will be mapped to cryptswap (something like cryptsetup luksOpen /dev/hda4 cryptswap)
so first disable the line in /etc/crypttab that mentions cryptswap and remove the cryptswap line from /etc/fstab
Then use cryptsetup to remove the crypt mapping.
At this point you can remove the swap partition and recreate it as an ordinary partition
I followed this explanation (currently down, see its google cache), and it worked without any problems.