[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: problems with the kernel when installing virtual box:Fedora 10 arch:

David Antonio Garcia Campos wrote:
I tried that but it says that i realdy have the latest kernel-source
installed see:
[root localhost]# sudo yum install kernel-devel
Loaded plugins: fastestmirror, presto, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
371 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Package kernel-devel- already installed
and latest version
Nothing to do
However I get the same error when i run ./vboxdrv setup:
Error! Your kernel source for kernel cannot be found at
/lib/modules/ or
But these two directories are soft links. The */source is a soft link
to */build and build t's a soft link to this directory
/usr/src/kernels/ which does not exist.
does this mean i have to rebuild my kernel? if so i dont know where to begin.
Thanks a lot for everyones help.

On 2/12/09, JD <jd1008 gmail com> wrote:
David Antonio Garcia Campos wrote:
Hi everyone,

Im trying to install virtual box from an rpm but Im getting an error
message when i try to install it. Im using fedora 10

ERROR message from virtual box:Error! Your kernel source for kernel cannot be found at
/lib/modules/ or
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
For some reason i have this

but when i run uname -r i get:

[root localhost]# pwd
[root localhost]# uname -r

can someone please put me on the right direction?

Thanks a lot,


As root, or via sudo, just install kernel devel:

sudo yum install kernel-devel

and then run

sudo service vboxdrv  setup

and that should then build the vbox driver and install it.

I am not sure what had done in the past to get
You or someone had probably booted kernel
and then installed

Good luck.

fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



David, So, you are booted with kernel
and you already have kernel-deve. Good.
Now do this:

cd /lib/modules/
rm -f source build
ln -sf /usr/src/kernels/ build
service vboxdrv setup

Be happy.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]