Virtual Box Errors <SOLVED>

Archived topics about LMDE 1 and LMDE 2
Locked
ghostdawg

Virtual Box Errors <SOLVED>

Post by ghostdawg »

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)
Component:
Machine
Interface:
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.
------------------------------
Done.
Attempting to install using DKMS

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

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 http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free to download VB.

It seems it's not finding the kernel sources.

Any ideas how to fix this?

Thnx.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Elisa

Re: Virtual Box Errors

Post by Elisa »

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.
ghostdawg

Re: Virtual Box Errors

Post by ghostdawg »

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.

Thanks.
proxima_centauri

Re: Virtual Box Errors

Post by proxima_centauri »

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

Return to “LMDE Archive”