Installing VirtualBox OSE on Ubuntu 8.04
      by Wyatt WalterTonight I wanted to play with a couple of Linux distros on my desktop and I decided to install VirtualBox since it’s free and already has packages in Ubuntu for it. That turned into a much longer process than I thought, but not too bad. There’s a couple of steps that the open source edition’s installer on Ubuntu that are missed.
I installed VirtualBox through the Add/Remove Applications GUI application. When I ran VirtualBox, created a virtual machine, and tried to boot it I was greeted with an error:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel, e.g. virtualbox-ose-modules-generic..
Apparently you have to install an additional module which Ubuntu conveniently left out. To get the correct module for any running kernel that you are using:
sudo apt-get install virtualbox-ose-modules-`uname -r`
Fine. My module is now installed. I went to boot up my VM again..
The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
I had to add my user to the vboxusers group in order to gain access to the VirtualBox module:
sudo usermod -G vboxusers -a user
Log out and log back in and voila, VM boots.
Slightly irritating, but not too bad.
Tags: ubuntu, virtualbox, virtualization
Filed under How-Tos / Tips :
Comments (3) :
Jul 22nd, 2009
-
http://www.ubuntu-news.net/2009/07/24/installing-virtualbox-ose-on-ubuntu-8-04/ Installing VirtualBox OSE on Ubuntu 8.04 | Ubuntu-News – Your one stop for news about Ubuntu
-
http://Yup Paul Charles Leddy
-
Guntur