Ask Your Question

Virtualbox on Fedora 28

asked 2018-09-12 09:27:27 -0500

vpenkoff gravatar image

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 Stopping VirtualBox services. Starting VirtualBox services. Building VirtualBox kernel modules. 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
   as root.

When I check dmesg, I don't see any related VirtualBox information. Kernel and kernel related packages versions:


Any help is appreciated!

edit retag flag offensive close merge delete



You kernel-headers are not showing up here. Check rpm -qa | grep kernel

florian gravatar imageflorian ( 2018-09-12 12:04:46 -0500 )edit

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.

villykruse gravatar imagevillykruse ( 2018-09-13 05:33:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-12 12:02:29 -0500

florian gravatar image

updated 2018-09-12 12:48:26 -0500

Likely, you are missing some other dependency.

dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers dkms will install all (missing) dependencies.

Have you checked dmesg as suggested by the script?

edit flag offensive delete link more

Question Tools


Asked: 2018-09-12 09:27:27 -0500

Seen: 449 times

Last updated: Sep 12 '18