How to encrypt swap partition on Ubuntu 14.04 LTS

If you installed Ubuntu 14.04 afresh, and selected home folder encryption, you will also get an encrypted swap partition. However, when the computer boots, you get the following error message: the disk drive for /dev/mapper/cryptswap1 is not ready yet or not present.

Note that you need to have a proper data backup and make sure . . . → Read More: How to encrypt swap partition on Ubuntu 14.04 LTS

Swap file rewrites in Xubuntu 13.04

In a terminal window, enter: $ cat /proc/sys/vm/swappiness <enter>

This value is currently 60. You can reduce swap dependence by: $ sudo vi /etc/sysctl.conf <enter> At the end of the file, add a value: swappiness=10 :wq

Reboot the computer

. . . → Read More: Swap file rewrites in Xubuntu 13.04

How to check if swap is encrypted in Ubuntu

Start up a terminal window and then enter the commands as shown in italics below. The following command will tell you if your swap is encrypted in Ubuntu 12.04.

$ swapon –summary <enter>

Filename Type Size Used Priority /dev/mapper/cryptswap1 partition 3904508 0 -1

Above indicates swap is encrypted. If it returned nothing except the heading, . . . → Read More: How to check if swap is encrypted in Ubuntu

March 2019
M T W T F S S
« Feb    
 123
45678910
11121314151617
18192021222324
25262728293031