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

Install qemu-kvm on Ubuntu Linux

Check if kvm can run on the computer $ sudo kvm-ok <enter> If it returns lines as follows, then it will work INFO: /dev/kvm exists KVM acceleration can be used Install qemu-kvmOpen a terminal window and enter the commands below.$ sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils virt-viewer virt-manager qemu-system <enter> $ sudo adduser user … Continue reading Install qemu-kvm on Ubuntu Linux

VirtualBox does not open .vdi file after it is used with kvm

If you installed VirtualBox and later changed your mind to use the .vdi file with kvm, it will work, but when you go back to VirtualBox, it cannot be used. This is because, when it was opened with qemu/kvm, the owner and group became root. To open the file again in VirtualBox, open a terminal … Continue reading VirtualBox does not open .vdi file after it is used with kvm

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

Fix google-drive-ocamlfuse not able to get token error

The google-drive-ocamlfuse not able to get token error appears when using google-drive-ocamlfuse access to google-drive-ocamlfuse application to Google Drive has been revoked or not granted. If the above error appears, delete the .gdfuse folder and a new token will be generated when google-drive-ocamlfuse application is run again. Open the file manager and remove the folder … Continue reading Fix google-drive-ocamlfuse not able to get token error