Sunday, March 22, 2009

Need two OS on single laptop/machine

-Download virtualbox from http://www.virtualbox.org/wiki/Downloads. Downloads available for multiple host OS.
-I installed rpm for fedora 10 and also installed dkms so that my kernel upgrades do not give probelms
-The install creates a group vboxusers. my user being 'bhupendra' I added it to this group.
-To start virtulbox gui type in VirtualBox [V abd B should be capital] and follow the instructions.

Well I thought things would be ok, but while launching VirtualBox, I got following error:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.27.19-170.2.35.fc10.i686) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
installation for some reason. Starting a VM will not be possible.
Please consult the User Manual for build instructions.

So changed to root user and ran /etc/init.d/vboxdrv setup only to find out that the setup failed. Fortunately the log showed that I did not have gcc installed so did yum install gcc. After that the setup was smooth and VirtualBox gui was up.