Virtualbox on Fedora 28
Hello everybody. I'm trying to install VirtualBox 5.2 on Fedora 28 (fresh install). My problem is that I'm not able to finish the /sbin/vboxconfig script. I have the proper kernel-headers and dependencies but in the end, after the script finishes I've got
sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
When I check dmesg, I don't see any related VirtualBox information. Kernel and kernel related packages versions:
kernel-devel-4.18.5-200.fc28.x86_64
kernel-core-4.18.5-200.fc28.x86_64
kernel-modules-extra-4.18.5-200.fc28.x86_64
kernel-modules-4.18.5-200.fc28.x86_64
Any help is appreciated!
You
kernel-headers
are not showing up here. Checkrpm -qa | grep kernel
Without
kernel-headers
no C compiler. And with no C compiler you can't compile the kernel module, and therefore you can't load it into the kernel.