Install VirtualBox onto a Fedora 22 system couldn’t be easier, download the application from the VirtualBox site and install using dnf. Simple
Creating a virtual maching couldn’t be simpler, running the said virtual machine out of the box isn’t so simple.
When you run it, it complains about kernel modules and suggests you rerun a command to set them up again, /etc/init.d/vboxdrv setup
Simple enough command, but it errors
“Your kernel headers for xxxxxx cannot be found” and then it bombs out with errors.
To cut a long story short run this command from a terminal, you should then be able to rerun the setup command.
dnf install binutils gcc make patch libgomp glibc–headers glibc–devel kernel–headers kernel–devel dkms