Saturday, July 19, 2008

Ubuntu and Virtual Box

Well, I'm back now with the latest Ubuntu Hardy!

I was looking for Virtualization for Linux and came across this.
My "uname -r" shows: 2.6.24-19-generic
Hardy comes with Virtual Box packages and can be installed using Synaptic (no compilation required!)
Packages to select for installation:
1. virtualbox-ose
2. virtualbox-ose-modules-generic

virtualbox-ose-moduels-generic pulls in virtualbox-ose-modules-2.6.24-19-generic automatically.
Do not install virtualbox-ose-modules for any other particular kernel version and might break your system; (Mine ended up breaking my sound modules! )

This will install the Virtual box and the UI is quite intuitive. However, a couple of configuration steps are necessary before you are able to start Virtualbox
Here is a detailed description of steps for Virtualbox configuration;
Look for following Networking and later sections:
However, the document suggests the networking steps need to be re-run every time the host system re-boots, but, Hardy seems to remember the settings and did not need the re-configuration after the re-boot
Now, I can experiment more with a virtual machine!
Also look for Kakku's post on compressing the "vdi" image!