Below error appears when updating the initramfs-tools: Processing triggers for initramfs-tools (0.130ubuntu3.8) …update-initramfs: Generating /boot/initrd.img-5.1.0-15-genericI: The initramfs will attempt to resume from /dev/dm-1I: (/dev/mapper/vg0-swap)I: Set the RESUME variable to override this. Before proceeding beyond this point, take a data backup. This error usually occurs if the computer had dual booting and a swap file that … Continue reading How to fix initramfs-tools error when updating it
Tag: swap
Android Studio experience on Linux distributions
Finally tried out Android Studio 4.0.1 on multiple Linux distributions. However, below is my experience on how it went. Mileage varies. Linux Mint 20 with Android Studio without a swap file of 8 GB would hang or freeze very frequently. Technically, not a freeze but it got too slow to be able to do anything … Continue reading Android Studio experience on Linux distributions
How to add 8 gb swap file instead of the 1 gb swap partition created by Xubuntu Linux on install
When using Android Studio or any other disk intensive applications, on Ubuntu-based distros, it is difficult to squeeze performance due to less RAM. 8gb RAM if using Android Studio and if Firefox web browser is also being used, the system will freeze or hang. To prevent this, increase the swap size. Unfortunately, Ubuntu-based distros only … Continue reading How to add 8 gb swap file instead of the 1 gb swap partition created by Xubuntu Linux on install
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
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
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