LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-29-2012, 04:17 AM   #1
chintu00001
LQ Newbie
 
Registered: Mar 2012
Posts: 9

Rep: Reputation: Disabled
Exclamation problem with installing centos in virtualbox (Kernel driver not installed (rc=-1908)


while installing centos6.2 in virtual box im getting an error called


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


when i continue /etc/init.d/

[root@localhost yum.repos.d]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)

can anyone tell the solution for this problem
thnx in advance...
 
Old 03-29-2012, 04:21 AM   #2
chintu00001
LQ Newbie
 
Registered: Mar 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
this is the log generated during installation

[root@localhost yum.repos.d]# cat /var/log/vbox-install.log

Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
 
Old 05-15-2012, 11:45 AM   #3
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Quote:
Originally Posted by chintu00001 View Post
this is the log generated during installation

[root@localhost yum.repos.d]# cat /var/log/vbox-install.log

Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Are you sure that you have installed your kernel headers?
Code:
yum install gcc kernel-devel 
yum search kernel-headers (some output)
yum install kernel-headers.x86_64 (or whatever matches the output from search that contains the "Header files for the Linux kernel for use by glibc")
Unless you're using a xen kernel (then you need to uname -r and if that says ...el5xen then you need to yum install gcc kernel-xen-devel
Also make sure you have disabled netboot in bios.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kernel driver not installed (rc=-1908) larrym82 Linux - Virtualization and Cloud 1 12-28-2011 01:11 AM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM
Virtualbox Error - Kernel driver not installed (rc=-1908) callumacrae Linux - Software 11 10-28-2009 02:13 PM
Problem installing LAN DRIVER R8168 in CentOS 5.0 venkatteshb Linux - Newbie 9 11-16-2008 12:12 AM
centos kernel upgrade problem (raid driver) blunt Linux - Server 1 10-29-2007 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration