Sunday, July 13, 2008

The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created - SOLVED!

I was planning to try out ubuntu JeOS. since VMWare images are portable, thought I will create the virtual machine on my XP os which has VMWare installed then if it succeds, install VMPlayer on my mint & move the vm to mint. The JeOS install went fine, but for installing VMPlayer on mint (Elyssa), I could not find it in the repositories. Then the other option was to install VirtualBox. I had installed VirtualBox non OSE version & it was too good & simple to use (only hickup was to add myself to vboxusers goup). This time I decided to go for OSE version & the installation was a breeze. Creation of the virtual machine was also breeze, but the problem was when I tried to switch on the machine. It failed with the following error:

"The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason"

After googling a bit, few suggestions was to go back for non OSE version. I was not in a state to go for another download & install. I was almost given up & drop the idea. Then I just was browsing through the searched packages in synaptic and thats when I found virtualbox-ose-guest-modules-2.6.24-16-generic & virtualbox-ose-modules-2.6.24-16-generic. The description was saying something along kernel modules and I installed these (based on my kernel version). Theres is no need to load these modules (I tried & failed), just start the virtual machine just created & it starts up without a hitch! Now I have installed JeOS & on that xorg & fluxbox, works just fine!

VirtualBox is really cool!