Installing on CentOS error

Discussions related to using VirtualBox on Linux hosts.
Post Reply
irasmith
Posts: 1
Joined: 16. Aug 2009, 04:43
Primary OS: Linux other
VBox Version: OSE Fedora
Guest OSses: MS Windows Server 2003

Installing on CentOS error

Post by irasmith »

I have virtualbox 3.0.4 r50677 installed on my CentOS Linux machine, at least the install appeared to go correctly and it let me define a guest machine however I am unable to start the guest machine to begin the install of its software. I receive the error Kernel driver not installed (rc=-1908) when I try to start the guest machine. The error details tell me to run the following as root, '/etc/init.d/vboxdrv setup' which I do and that errors out with the following message, Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.

I am unsure of what I need to do next so does anyone with more experience than I at this have suggestions?
Thanks,
Ira
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Installing on CentOS error

Post by Sasquatch »

Your missing some packages to create kernel modules. You also need to be a member of the vboxusers group. Check the VirtualBox FAQ for the group part, and my Howto: Install Linux Guest Additions + Xorg config for the kernel development packages. You can skip the rest of the howto, only the preparations are needed for the Host, as they are the same.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply