Linux – Manjaro: Module vboxdrv not found

arch linuxmanjarovirtualbox

I upgraded the system and did

sudo pacman -S virtualbox virtualbox-host-modules virtualbox-guest-iso
virtualbox-host-dkms

yaourt virtualbox-ext-oracle

sudo depmod -a

sudo modprobe vboxdrv

modprobe: FATAL: Module vboxdrv not found.

enter image description here

Best Answer

The problem was that I followed tutorials on the web and youtube videos, instead of reading manjaro wiki.

The correct way of doing it is not to install virtualbox virtualbox-host-modules, instead of that, first I should check kernel version uname -r in my case I'm using 3.16.7.10-1-MANJARO so I have to do

sudo pacman -S linux316-virtualbox-host-modules

As time goes on, blogs get more and more popular, they get better ranked, leaving official documentation way behind and users like me get false information. Anyway, hopefully my answer helps future users.