Archive for April, 2009
VirtualBox and migrating from VMWare
Posted by Michal in Technology on April 16th, 2009

Pic source: sxc.hu
I started using VirtualBox a few weeks ago and recently updated to version 2.2. The cool new feature is the ability to get OpenGL 3D acceleration for Linux and Solaris virtual machines. I have done some tests with Ubuntu 9.04 Desktop beta and I have to say it works much better than I expected. My setup includes 2 monitors one of which I used for the Ubuntu VM and the other one for the Win2008Srv host. I have previously used VMWare Workstation to do the same, but under VirtualBox Ubuntu seems to be much more responsive and stable. Especially when you’re using Compiz
Another cool feature that has been added to 2.2 is the support for OVF (Open Virtualization Format). This way it makes it quite trivial to migrate from VMWare…. in theory. Practice shows that you will experience some issues challenges. Here is what I did today to make it work. Lets start from the beginning:
1. Converted my VMWare machine to OVF format using VMWare OVF Tool Technology Preview (Download)
The syntax is quite obvious and it is:
ovfTool.exe <path/name.vmx> <path/name.ovh>
The tool does quite a good job at converting the virtual disk in my case it became more than 60% lighter in terms of size
2. Imported the converted OVH machine to VirtualBox using the Import feature, changes some machine params and it failed to start :/Actually the whole VirtualBox machine crashed at the beginning before it even started booting. Tried changing parameters etc, but all my efforts failed.
3. Created a clean machine (with same params and settings that the imported one), attached it to the converted virtual disk and…. it magically worked like a charm.
The fact that VirtualBox and VMware both support OVF is quite exciting, because it makes it very easy to share, migrate and reuse virtual machines. Now I am waiting to learn about a big online repository of virtual appliances. Well - there is this VMWare Virtual Applicance Marketplace, but IMHO it lacks a lot in terms of functionality and I would like to see a completely independent site exposing a proper repository (like with versioning etc) for virtual machines.
Oh. And one more piece of advice for VirtualBox 2.2 users (probably only who upgraded from previous editions):
We (me and my friend Patryk) had problems setting bridged networking - the application couldn’t recognize hosts hardware network interfaces. As Patryk discovered a simple Repair option for the VirtualBox installation and clicking Install on all unsigned drivers install prompts + host restart helped.
Lets start with a beer…

This happens if you leave a beer in a freezer overnight
… or maybe not.
You can clearly see what happened to my low alc beer. Unfortunately I remembered about it in the morning and the whole freezer drawer is now full of bottle pieces and beerish ice
You can only imagine how happy my wife was when she found it.
So right now sitting with a glass of wine
I just wanted to say:
Hello world!
I will use this space to inform you about the geeky things that I am involved in as well as random thoughs on management and life in general. I am not quite sure if I have a set direction for this blog already. I guess it will become more clear as we go.