After installation of a NVMe SSD in the laptop, it needs to be well-managed so that it's life does not decrease. To do this, most modern systems use TRIM to manage and delete unwanted blocks of data on the SSD. To check if TRIM is enabled on the Linux Mint 20.1 laptop, open a terminal … Continue reading How to check if TRIM is enabled on Linux Mint 20.1
Android Studio works quite slow with a normal SATA Hard Disk Drive (HDD), on a computer. To overcome this, there are a few solutions, including waiting for the good folks at Google to release another efficient version, or if you are seriously into Android development, then you can augment the hardware of your computer by … Continue reading Select and set up a Crucial M2.2280 NVMe PCIe SSD
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
To open a LUKS container file in Thunar file manager in Linux, right click on the container file and select the option Open with Disk Image Mounter. This way, the LUKS container will appear as Device in thunar and can be mounted.
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
At times, there are errors with mounting NTFS formatted volumes from a USB drive. This can cause pain. Below is the method of how to fix the error, and even though it worked for me, there is no guarantee it will work for anyone else. Try it at your own risk. Open a terminal window … Continue reading Fix NTFS USB drive in linux
There are various methods to create a 150 GB file on Linux, but the fastest way to do so is to use fallocate. Open a terminal window and enter the command below: $ fallocate 150G filename <enter> The above command creates a 150 gb file named filename.
When you enter the command below in a terminal window: $ sudo /sbin/losetup /dev/loop0 /home/user1/folder1/containerdatafile <enter> Device error or resource busy error message appears and the device is not setup. The reason is that /dev/loop0 is taken by snap. To overcome the error, change /dev/loop0 to something else like /dev/loop35 Or, if you do not … Continue reading Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop
Never could understand why getting Google to give a Google Drive client for Linux is so hard. However, there are several solutions to this and the Gnome 3+ Desktop Environment offers a good way to access Google Online Accounts. If you use XFCE desktop with Xubuntu, it makes no sense to download the whole Gnome … Continue reading How to use Google Drive in Linux with XFCE desktop or Xubuntu 18.04 LTS
Whew... saved by the skin of teeth. The grub2 bootloader of my computer got corrupt. I was not able to boot into the computer and all was lost. For security reasons, I set up LVM with full disk encryption. Thereafter, each user's home folder was further encrypted with ecryptfs (the default you get when you … Continue reading Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume