Vboxdrv kernel module is not loaded

Hello, I know this is my first post here so hello.
Basically I wanted to install virtualbox and run a windows 10 vm for a few programs that dont run through wine. Whenever I open virtualbox (through konsole) I get an error "WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (5.10.42-1-MANJARO) or it failed to
load. Please recompile the kernel module and install it by

       sudo /sbin/vboxconfig

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

."
But whenever I try to run “sudo /sbin/vboxconfig” like it tells me to, it says “sudo: /sbin/vboxconfig: command not found.”
The offical manjaro wiki page that I was using to install virtualbox does not have this error mentioned in it so I dont know what its deal is.

Please help
-chimp

1 Like

Install virtualbox510-host-modules (and other if you have more kernels) package and restart computer or load module manually with sudo modprobe vboxdrv.

1 Like

How do i get this?

pamac gui. Or

In terminal: pamac install name of package

pamac install linux510-virtualbox-host-modules