Ask Your Question
0

Virtualbox on Fedora 28

asked 2018-09-12 09:27:27 -0600

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 
    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!

edit retag flag offensive close merge delete

Comments

1

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

florian gravatar imageflorian ( 2018-09-12 12:04:46 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

florian gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-09-12 09:27:27 -0600

Seen: 300 times

Last updated: Sep 12