Hello,
I recently transitioned my laptop from opensolaris to fedora because it had more drivers for my hardware. I installed virtualbox (the link for fedroa9 there isn't a dedicated link for fedora 10). When I try to start a virtual machine it tells me I need to run /etc/init.d/vboxdrv setup
when I run /etc/init.d/vboxdrv.setup it errors out and I get the following error log, any ideas? FYI this is a standard fedora10 install with nothing weird going on, pretty much OOB. I did install DKMS per the installation instructions.
Creating symlink /var/lib/dkms/vboxdrv/2.1.0/source ->
/usr/src/vboxdrv-2.1.0
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.27.5-117.fc10.i686 cannot be found at
/lib/modules/2.6.27.5-117.fc10.i686/build or /lib/modules/2.6.27.5-117.fc10.i686/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
vboxdrv setup fails
-
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
Install the kernel-devel package. That should give you the ability to build kernel modules.
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.
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.
-
remarkosmoc
- Posts: 4
- Joined: 13. Jan 2009, 21:37
I found the problem but don't quite know how to fix it.
/lib/modules/2.6.27.5-117.fc10-x86_64/build points to /usr/src/kernels/2.6.27.9-117.fc10.x86_64 however the only thing in the /usr/src/kernels directory is 2.6.27.9-159.fc10.x86_4 (note the difference 9-117 vs 9-159)
I do have the kernel-devel installd. I don't know how to get the appropriate source (with the 9-117).
uname-a confirms that I am running 2.6.27.9-117.fc10.x86_64
/lib/modules/2.6.27.5-117.fc10-x86_64/build points to /usr/src/kernels/2.6.27.9-117.fc10.x86_64 however the only thing in the /usr/src/kernels directory is 2.6.27.9-159.fc10.x86_4 (note the difference 9-117 vs 9-159)
I do have the kernel-devel installd. I don't know how to get the appropriate source (with the 9-117).
uname-a confirms that I am running 2.6.27.9-117.fc10.x86_64
-
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
Update your system. Make sure that it grabs a new kernel so that they are the same version. Now you need to boot to the new kernel build and the vboxdrv build should go without errors. Use a graphical package manager if possible, so you see what is going on and which package is upgradable.
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.
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.
-
remarkosmoc
- Posts: 4
- Joined: 13. Jan 2009, 21:37
solved
Thanks that worked! I don't understand why the default install would reference sources to a kernel that isn't installed. Thats a weakness in the distro, IMO. Upgrading the newest kernel from the repository did work.
Thanks for the help.
Thanks for the help.