Select and set up a Crucial M2.2280 NVMe PCIe SSD

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

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

Fix NTFS USB drive in linux

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

Error when opening a LUKS encrypted container file /dev/loop0 Device or resource is busy on Ubuntu 18.10 Gnome Desktop

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

How to use Google Drive in Linux with XFCE desktop or Xubuntu 18.04 LTS

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

Recover encrypted ecryptfs home folder from encrypted dm-crypt luks disk volume

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

How to format pen drive to VFAT using mkfs when disk utility or gparted do not recognize it

Sometimes, we find that a pen drive simply cannot be formatted using the Disk Utility or gparted in Linux. In such a situation, open a terminal on your Linux computer, and enter the command as below to format the pen drive. $ sudo mkfs.vfat -n ‘Label’ -I /dev/sda <enter> where 'Label' in the quotes can … Continue reading How to format pen drive to VFAT using mkfs when disk utility or gparted do not recognize it