Trying to install virtualbox or vmware - Fedora 20 [closed]
I have several classes this semester that require me to run VM's. Specifically W2008 and CentOS. I need either vmware player or virtualbox. I have fedora 20 installed as the host. With both applications it gives me kernel header errors. virtualbox installed fine, but when i go to launch a guest i get kernel driver not installed
and to run /etc/init.d/vboxdrv setup
so i run that and gives me kernel failed, then i installed DKMS and re-ran that command and the log file gives me
Uninstalling modules from DKMS Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.3.6/source -> /usr/src/vboxhost-4.3.6
DKMS: add completed. Failed to install using DKMS, attempting to install without Makefile:183: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.</directory>
For VMWare player 6 it says Kernel headers for version 3.12.8-300.fc20.x86_64 were not found
i did search around and found the solution that is suppose to work but i does not work for me and it's this command
cp /usr/include/linux/version.h /lib/modules/3.12.8-300.fc20.x86_64/build/include/linux/
the output of this command is cp: cannot create regular file ‘/lib/modules/3.12.8-300.fc20.x86_64/build/include/linux/’: No such file or directory
after i digged into the folders i found that in the 3.12.8XXXX folder is a file named build, that is neither a file nor a folder, and i can not copy it or anything. Which to me is confusing because this command says there should be a 2 more sub folders inside build, but build already exists but i can not cat build, nor can i cd build.
Does anyone have the answer to this? I dont have time to be fixing crap with fedora and maintain 16 credit hours. I've already wasted a day and half and i'm almost at the point of installing ubuntu.
I did the full procedure listed the question "How to install Oracle VM VirtualBox in Fedora 20" and it worked for me.I was trying to get the VBOXADDITIONS from the file cabinet to load. I had same issue with Kernel Headers when vbox additions was auto-run from top right button in file cabinet. I had to mount this windows file "C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso" as a CD in virtual box storage settings at first to get it to display in the file cabinet. Initially the "Fedora-Live-Desktop-i686-20-1.iso" file was still listed as the CD in storage settings after I had installed the Fedora-Live...iso to the VBOX disk --- so I removed that Fedora-Live...iso file in settings because everytime I booted it still asked me to make the installation choice of LIVE vs Hard disk.
ll /lib/modules/3.13.9-200.fc20.x86_64/ , build -> /usr/src/kernels/3.13.9-200.fc20.x86_64 , rpm -qf /usr/src/kernels/3.13.9-200.fc20.x86_64/ kernel-devel-3.13.9-200.fc20.x86_64 you need install kernel-devel and kernel-headers