archlinux - Virtualbox kernel modules after reinstall PAE kernel

Everytime i updated my archlinux system, VirtualBox usually down, because this problem:

$ virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.13.3-1-pae) or it failed to
         load. Please reinstall the kernel module virtualbox-host-modules or if you don't use our stock kernel compile the modules with

           sudo dkms autoinstall

         You will not be able to start VMs until this problem is fixed.
Then:

sudo dkms autoinstall
Error! Could not locate dkms.conf file.
File:  does not exist.
This happen because the virtualbox kernel module is not installed. Just install these package: virtualbox-host-modules, virtualbox-guest-modules virtualbox-guest-dkms and recompile vbox kernel module:

sudo dkms install vboxhost/<version (in /usr/src/)>
sudo dkms install vboxguest/<version (in /usr/src/)>
After all, modprobe vboxdrv and vboxnetflt, start and use virtualbox :-).

 

No comments:

Post a Comment