Failed to find module 'vboxdrv' while Installing VirtualBox in Fedora

asked 2017-06-29 09:35:05 -0600

neel gravatar image

I was following the instructions on installng VirtualBox on Fedora 25.

But when I start or restart systemd-modules-load.service I get

Jun 29 19:57:55 localhost.localdomain systemd-modules-load[28292]: Failed to find module 'vboxdrv'
Jun 29 19:57:55 localhost.localdomain systemd-modules-load[28292]: Failed to find module 'vboxnetflt'
Jun 29 19:57:55 localhost.localdomain systemd-modules-load[28292]: Failed to find module 'vboxnetadp'
Jun 29 19:57:55 localhost.localdomain systemd-modules-load[28292]: Failed to find module 'vboxpci'
Jun 29 19:57:55 localhost.localdomain systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Jun 29 19:57:55 localhost.localdomain systemd[1]: Failed to start Load Kernel Modules.
-- Subject: Unit systemd-modules-load.service has failed

$ sudo akmods
Checking kmods exist for 4.11.6-201.fc25.x86_64            [  OK  ]

$ sudo modinfo vboxdrv
modinfo: ERROR: Module vboxdrv not found.

$ sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.11.6-201.fc25.x86_64

Looks like the modules are not built, How can I rebuild them ?

edit retag flag offensive close merge delete