What to do if “failed to connect to lvmetad” slows down booting on Linux Mint or Ubuntu

As my system was very slow to boot, while grub loaded, I press the Esc key see what was wrong. The error related to "failed to connect to lvmetad" occurred frequently. This error is due to improperly configured swap file for the resume of the laptop on hibernate. To fix this, open a terminal window … Continue reading What to do if “failed to connect to lvmetad” slows down booting on Linux Mint or Ubuntu

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 … Continue reading How to encrypt swap partition on Ubuntu 14.04 LTS

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, … Continue reading How to check if swap is encrypted in Ubuntu