Virtualbox Install Problem
Okay, attempted to install Virtualbox and get the following error:
The character device /dev/vboxdrv does not exist. Please install the virtual-box-ose-dkms package and appropriate headers, most likely linux-headers-generic
So, what does this mean and how do I do what it is telling me to do!?
Re: Virtualbox Install Problem
Have you installed the dkms and build-essential package from the software center?
Also are you installing from the vBox site or the software center. I ask just because the site just seems to work better for me.
Re: Virtualbox Install Problem
Also install linux-headers-generic ;)
+1 to installing from VirtualBox.org. Download the .deb appropriate for your architecture. Also download and install the extension pack.
Best wishes!
Re: Virtualbox Install Problem
Initially tried to install via software center and got the error, so then decided to install via terminal command line - sudo apt-get install virtualbox and then got the same error; will try the suggestions
Re: Virtualbox Install Problem
I agree with @ibjsb4:
Code:
sudo apt-get install dkms
"Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade".
https://www.virtualbox.org/wiki/Linux_Downloads
Re: Virtualbox Install Problem
By far the best and more reliable method is to add the VB repository by adding a line to /etc/apt/sources.list as described in the "Debian-based" section of the downloads page on the VB site. Once you have this configured, updates to VirtualBox will be managed just like all other upgrades.
You can just download the .deb, but adding the repository is a better solution in the long run.
Re: Virtualbox Install Problem
Thread moved to Virtualisation.
----------------------
+1 to what others suggested, plus - make sure you are a member of vboxusers group -
If the above command does not show "vboxusers" among other group names, add yourself to the group -
Code:
sudo adduser <your user id> vboxusers
..then run the groups command again to double-check.