||05-16-2011 10:43 PM
need help installing virtualbox
i just downloaded and installed virtualbox 4.0 for debian squeeze, i also added the virtualbox repositories to my collection and installed the dkms package but i am getting some errors
when i try to run a virtual machine i get a prompt
Failed to open a session for the virtual machine tux.
The virtual machine 'tux' has terminated unexpectedly during startup with exit code 1.
then i get this one
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
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.
i run the command that it is telling me to, the
# /etc/init.d/vboxdrv setup
and i get an error in the terminal why can't i get it working heres the terminals output
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
Trying to register the VirtualBox kernel modules using DKMS:
Error! Your kernel headers for kernel 2.6.32-5-amd64 cannot be found at
/lib/modules/2.6.32-5-amd64/build or /lib/modules/2.6.32-5-amd64/source.
Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!
what should i do, do i need to upgrade my kernel or something if so what depository should i use to do so, i don't want to do it from source