How to add a new user to Ubuntu

I find adding a new user in Ubuntu really confusing. Surely there should be a wizard program for it? Anyhow, for my records here is how I do it. Create the user Set the users password Then I log in as the user Change the shell to /bin/bash You can make the user a sudoer … Read more

How to convert VirtualBox vdi to KVM qcow2

It is very easy to convert a VirtualBox .vdi disk images to KVM qcow2 file. You have to use the RAW file format as an intermediate. 1 – Make sure the VirtualBox machine is shutdown. 2 – Convert the vdi to a raw disk images. Note: vdi are compressed and raw images are not and … Read more

How to mount a qcow2 disk image on Ubuntu

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running. Step 1 – Enable NBD on the Host You will need to enable the nbd (network block device) kernel module on the host. This … Read more