Page 1 of 1

Installing on CentOS error

Posted: 16. Aug 2009, 04:50
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

Re: Installing on CentOS error

Posted: 16. Aug 2009, 13:58
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.