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 . . . → Read More: 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-kvm Open 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 . . . → Read More: 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 . . . → Read More: 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 . . . → Read More: 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 . . . → Read More: Fix google-drive-ocamlfuse not able to get token error

How to open and use Google Drive in Linux using google-drive-ocamlfuse

Google has till date not released a Linux client for Google Drive. Result, we are dependent on 3rd party tools or applications to access Google Drive from Linux. There are a few solutions like:

Grive InSync google-drive-ocamlfuse

Of the above, InSync is a paid software available for about US$ 10, that solves all problems with . . . → Read More: How to open and use Google Drive in Linux using google-drive-ocamlfuse

Use Grive to sync files or folders between the Linux computer and Google Drive

It’s been more than a while waiting for Google to come up with a Google Drive sync client for Linux. While the clients are available for Android, Windows, Mac and more, Linux does not have an ‘official’ Google Drive client.

If you need a PC application to synchronize files and folders between your computer and . . . → Read More: Use Grive to sync files or folders between the Linux computer and Google Drive

Error Couldn’t open DVD device: /dev/dvd (No such file or directory)

Below error appears when creating a avi out of a DVD, is an mencoder error: MEncoder 1.1-4.8 (C) 2000-2012 MPlayer Team libdvdread: Can’t stat /dev/dvd No such file or directory libdvdread: Could not open /dev/dvd Couldn’t open DVD device: /dev/dvd (No such file or directory) No stream found to handle url dvd://2 Cannot open file/device.

. . . → Read More: Error Couldn’t open DVD device: /dev/dvd (No such file or directory)

Clonezilla – Clone your hard disk for free

Finally, I got down to save myself the pain of re-installing operating systems if my installation got corrupt. You can do so, by using any disk imaging or cloning tool like Ghost for Linux, Symantec/Norton Ghost or even a free tool like Clonezilla available at http://www.clonezilla.org.

It is free Saves diskspace by compressing the images . . . → Read More: Clonezilla – Clone your hard disk for free

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, . . . → Read More: How to check if swap is encrypted in Ubuntu

July 2017
M T W T F S S
« Jun    
 12
3456789
10111213141516
17181920212223
24252627282930
31