Trying to run Oracle Virtual Box on linux CentOs
I am trying to run virtual box on my machine but getting errors When executing the command sudo /etc/init.d/vboxdrv setup I am getting the following below: I have already install he src file, Can you help?
Uninstalling modules from DKMS removing old DKMS module vboxhost version 4.3.8 ------------------------------ Deleting module version: 4.3.8 completely from the DKMS tree. ------------------------------ Done. Attempting to install using DKMS Creating symlink /var/lib/dkms/vboxhost/4.3.8/source -> /usr/src/vboxhost-4.3.8 DKMS: add completed. Failed to install using DKMS, attempting to install without Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop. Also, when run it through the GUI under applications I get the erros whihc is pretty much the same above 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. |
The error seems pretty self-explanatory to me...it can't find the kernel sources. Have you installed them? They're in the package "kernel-devel"
Code:
yum install kernel-devel |
Installing Oracle Virtual Box Manager on CentOs
Package kernel-devel-2.6.32-431.5.1.el6.x86_64 already installed and latest version
Nothing to do |
Have you also installed the kernel-headers?
Have you seen/tried this? http://www.libre-software.net/instal...fic-linux-rhel I typically install VBox from the repo when I can, it simplifies everything and keeps it up to date. |
All times are GMT -5. The time now is 05:30 AM. |