Thursday, January 26, 2017

Migrating from VirtualBox to KVM/Qemu

I've been using VirtualBox for years on my Ubuntu systems to test and use other operating systems on the host machine.  Since I am working with five of my students this year to help them prepare for the RHCSA exam, I've been learning to use KVM for virtualization instead. KVM with virt-manager has proven to be easier to use than VirtualBox, since I don't have to install any add-on video drivers to get screen resolutions changed, and it seems to run faster and with less resource overhead than VirtualBox.

First thing I did was install:
$ sudo apt install qemu-kvm libvirt-bin bridge-utils
$ sudo ap install virt-manager
Then I added myself to the libvirtd group, so that I would have access:
$ sudo adduser [user] libvirtd
I converted my VirtualBox hard drive images to KVM images with:
$ qemu-img convert -f vdi oldImage.vdi -O qcow2 newImage.qcow
Here is a screenshot of Debian Jessie running on Ubuntu Yakety:


Resources

4 comments:

  1. Nice post.Great blog.Thanks for sharing. It was very interesting and meaningful.Also checkout Surgical instruments Australia

    ReplyDelete
  2. Very informative and well written post! Quite interesting and nice topic chosen for the post.Also checkout Surgical Instrument

    ReplyDelete
  3. Excellent is the only word I can give you for this wonderful blog, keep it up.Also checkout crowd controller

    ReplyDelete
  4. I believe it's imperative to dependably keep proficient Write my Assignment UK and encircle yourself with great individuals, buckle down, and be decent to everybody. It is such a great amount of less demanding to be pleasant, to be conscious, to place yourself in your clients' shoes and attempt to see how you may enable them before they to request help, than it is to endeavor to patch a broken client relationship. bewildering on the web diary, an obligation of appreciation is all together to share.

    ReplyDelete