Virtual Box Errors <SOLVED>

Archived topics about LMDE 1
Forum rules
Level 1
Level 1
Posts: 39
Joined: Sat Jun 25, 2011 7:04 pm
Location: USA (MO)

Virtual Box Errors <SOLVED>

Postby ghostdawg » Thu Sep 15, 2011 2:44 pm

When I try to run Oracle's Virtualbox for 32bit LMDE, I get these error messages:

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

clicking the 'Details' show...

"Result Code:
NS_ERROR_FAILURE (0x80004005)
IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}"

Then this message appears

"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. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."

When I run '/etc/init.d/vboxdrv setup' command this is what appears.

"sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
Trying to register the VirtualBox kernel modules using DKMS:Error! echo
Your kernel headers for kernel 3.0.0-1-686-pae cannot be found at
/lib/modules/3.0.0-1-686-pae/build or /lib/modules/3.0.0-1-686-pae/source.

Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!"

I looked at '/var/log/vbox-install.log'

Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.2

Deleting module version: 4.1.2
completely from the DKMS tree.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.1.2/source ->

DKMS: add Completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

I added this to sources list file, per VB website.

deb squeeze contrib non-free to download VB.

It seems it's not finding the kernel sources.

Any ideas how to fix this?


User avatar
Level 6
Level 6
Posts: 1363
Joined: Wed Aug 18, 2010 6:46 am

Re: Virtual Box Errors

Postby Elisa » Thu Sep 15, 2011 2:47 pm

I am not sure but did u installed the kernel image & headers?
There are many step-by-step howtos on the net /google/what all you need to do to be able to run VBox.
Linux/Unix is about freedom, Windows about slavery.

md5 / sha1 check [how-to for NEWBIES] :idea:

Score: 43 I have some hippie in me. Cool, man 8)
Take the "Are you a Hippie?" Test

Level 1
Level 1
Posts: 39
Joined: Sat Jun 25, 2011 7:04 pm
Location: USA (MO)

Re: Virtual Box Errors

Postby ghostdawg » Thu Sep 15, 2011 3:19 pm

After searching I found how to install the headers.

sudo aptitude install linux-headers-3.0.0-1-686-pae

Then I had to run 'sudo /etc/init.d/vboxdrv setup' and all is well.

I should have known to do a search, I guess working 3rd shift and half sleepy, I'm not thinking straight.


User avatar
Level 11
Level 11
Posts: 3962
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: Virtual Box Errors

Postby proxima_centauri » Thu Sep 15, 2011 4:11 pm

Glad you figured it out. I've appended <SOLVED> to the topic title, you also have the ability to do this for future threads. :)

Return to “Archive”

Who is online

Users browsing this forum: No registered users and 3 guests