@tuxmanjarino _ I tried that link but the kernel version was 5.4 in the document and they loaded linux54-virtualbox-host-modules but for version 5.9 not sure which version of hostmodules to load
To install VirtualBox, you need to install the packages virtualbox and linux*-virtualbox-host-modules . The latter must match the version of the kernel you are running.
Hi @anon89812132 did a reboot and tried the command but getting failed to load the module again, what else do i need to check ?
$ sudo modprobe vboxdrv [12:42:26]
[sudo] password for sampath:
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.9.11-3-MANJARO
FAIL: 1
I had the same problem! The error is happening because you installed virtualbox before installing the kernel headers. Even though your virtualbox installation is fine, the kernel modules were not built.
A easy solution would be reinstall virtualbox after installing the kernel header. This will make sure that virtualbox kernel modules are build against your kernel
Also remember you’ll be needing community/virtualbox-host-dkms for host kernel modules
Well not exactly. Dealing with things like kernel headers is not that straight forward. Mainly because you can’t always be sure which Kernel the user is running. This is why applications that need to use kernel headers require manual installations of the kernel headers