Re: problems with the kernel when installing virtual box:Fedora 10 arch:2.6.27.5-117.fc10.x86_64

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

 



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 arch:2.6.27.5-117.fc10.x86_64

ERROR message from virtual box:Error! Your kernel source for kernel 2.6.27.5-117.fc10.x86_64 cannot be found at /lib/modules/2.6.27.5-117.fc10.x86_64/build or /lib/modules/2.6.27.5-117.fc10.x86_64/source.
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 directory:/usr/src/kernels/2.6.27.12-170.2.5.fc10.x86_64

but when i run uname -r i get:

[root@localhost 2.6.27.12-170.2.5.fc10.x86_64]# pwd
/usr/src/kernels/2.6.27.12-170.2.5.fc10.x86_64
[root@localhost 2.6.27.12-170.2.5.fc10.x86_64]# uname -r
2.6.27.5-117.fc10.x86_64

can someone please put me on the right direction?

Thanks a lot,

Dave


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 /usr/src/kernels/2.6.27.12-170.2.5.fc10.x86_64 You or someone had probably booted kernel 2.6.27.12-170.2.5.fc10.x86_64 and then installed
kernel-devel.

Good luck.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux