Here is how the error output is if I run virtualbox
from the terminal. How to correct it? I am on a Ubuntu 12.10 64bit machine.
virtualbox WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-ose-dkms package and the appropriate headers, most likely linux-headers-generic. You will not be able to start VMs until this problem is fixed.
EDIT:
I have both the latest linux-headers-generic
and virtualbox-ose-dkms
packages
Uninstall and Re-Install VirtualBox. The next method to solve the "VM session session was closed before any attempt to power it on" problem in VirtualBox, is to uninstall and then to reinstall the VirtualBox application, especially if the problem appeared after a Windows Update.
Right-click on the VirtualBox executable file. Choose Properties, and go to the Compatibility tab. Click on Run compatibility troubleshooter or just check the Run this program in compatibility mode for field. Save your changes, and run the program with admin rights.
Go to the "Start" (shell), "Contol Panel", "Programs and Features". A list of installed applications will be displayed in alphabetical order. Left click "Oracle VM VirtualBox" so it is selected, then "right click" it and choose "Uninstall" from the menu.
Before attempting to run this be sure that the current running Kernel headers are installed on your system. If you don't you will receive an error indicating that you need to install them or use the --kernelsource option to point to said headers.
Following the directions on this blog post helped me. Basically after you install those two packages you also need to do the reconfiguration:
sudo dpkg-reconfigure virtualbox-dkms sudo dpkg-reconfigure virtualbox
After the two dpkg-reconfigure
commands I also needed to run:
sudo modprobe vboxdrv
And to fix eth0:
sudo modprobe vboxnetflt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With