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.