Virtual Boxdoes not start

Asked by ealthuis

After a forced rebuild of Ubuntuu 12.10, installed Virtual Box from Software sources, then when I try to start VBox, I get these messaages:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

Failed to open a session for the virtual machine Windows XP.
The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1.

How do I fix, the '/etc/init.d/vboxdrv setup' also failed, as it kould not find a Kernel

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; dpkg -l | grep -i virtualbox

Thanks

Revision history for this message
ealthuis (ealthuis) said :
#2

I found another error log: Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

ea@ea-laptop:~$ lsb_release -a; uname -a; dpkg -l | grep -i virtualbox
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Linux ea-laptop 3.5.0-23-generic #35-Ubuntu SMP Thu Jan 24 13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
ii virtualbox 4.1.18-dfsg-1ubuntu1.1 amd64 x86 virtualization solution - base binaries
ii virtualbox-dbg 4.1.18-dfsg-1ubuntu1.1 amd64 x86 virtualization solution - debugging symbols
ii virtualbox-dkms 4.1.18-dfsg-1ubuntu1.1 all x86 virtualization solution - kernel module sources for dkms
ii virtualbox-guest-dkms 4.1.18-dfsg-1ubuntu1.1 all x86 virtualization solution - guest addition module source for dkms
ii virtualbox-guest-utils 4.1.18-dfsg-1ubuntu1.1 amd64 x86 virtualization solution - non-X11 guest utilities
ii virtualbox-guest-x11 4.1.18-dfsg-1ubuntu1.1 amd64 x86 virtualization solution - X11 guest utilities
ii virtualbox-ose-dbg 4.1.18-dfsg-1ubuntu1.1 all transitional package for virtualbox-dbg
ii virtualbox-ose-dkms 4.1.18-dfsg-1ubuntu1.1 all transitional package for virtualbox-dkms
ii virtualbox-ose-guest-dkms 4.1.18-dfsg-1ubuntu1.1 all transitional package for virtualbox-guest-dkms
ii virtualbox-qt 4.1.18-dfsg-1ubuntu1.1 amd64 x86 virtualization solution - Qt based user interface
ea@ea-laptop:~$
ea@ea-laptop:~$

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#3

Use these commands please.
You must remove completely the VirtualBox and install it from Oracle's site.

1) sudo apt-get purge virutalbox-*

2) sudo apt-get install --reinstall linux-source linux-headers-$(uname -r)

3) wget "download.virtualbox.org/virtualbox/4.2.6/virtualbox-4.2_4.2.6-82870~Ubuntu~quantal_amd64.deb" -O ~/virtualbox4.2.6-64bit.deb

4) sudo dpkg -i virtualbox4.2.6-64bit.deb

5) sudo apt-get install -f

6) sudo dpkg --configure -a

Please copy-paste each command from here for more accuracy.
Maybe a reboot is needed to changes take effect.

Thanks

Revision history for this message
ealthuis (ealthuis) said :
#4

Thanks NikTh, that solved my question.