Installing virtual box to MATE 20.01 -module vboxdrv not found

Installing virtualbox to manjaro MATE 20.1 following this guide

[HowTo] VirtualBox - Installation - USB - Shared Folder

but having this problem

mhwd-kernel -li
Currently running: 5.6.11-1-MANJARO (linux56)
The following kernels are installed in your system:
* linux56
* linux56-rt

pacman -Ss virtualbox | grep installed
community/linux56-rt-virtualbox-host-modules 6.1.14-1 (linux56-rt-extramodules) [installed]

sudo vboxreload
[sudo] password for stephen: 
Unloading modules: 
Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/5.6.11-1-MANJARO
modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/5.6.11-1-MANJARO
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.6.11-1-MANJARO

5.6 reached EOL, its last release was 5.6.19.
You are using the non-RT kernel.

Excuse me I am new to Manjaro.

I have applied pacman -Syyu with the result nothing to do.

Your comment suggests that is not the end of the story. What can I do?

Switch to another kernel, 5.4LTS for example:

$ sudo mhwd-kernel -i linux54

If the corresponding Virtualbox modules package doesn’t get installed along the way, do it manually:

$ sudo pacman -Syu linux54-virtualbox-host-modules
1 Like

You have multiple choices.
Change to 5.8, or 5.4 whichever works for you.
If you are sticking with 5.6 for a reason, then you can remain on 5.6-rt for now.

To stay on 5.6-rt:
On boot, you should have an option to select other installed kernels (second option in the menu I believe), choose the RT kernel, and it should work.
If the system is stable in the long run, remove 5.6 with sudo mhwd-kernel -r linux56

To change:
Install 5.8 kernel sudo mhwd-kernel -i linux58
Try it out, if it works in the long run, remove 5.6 with sudo mhwd-kernel -r linux56
If it fails, boot back to 5.6, remove 5.8, install 5.4, try that out.

Make sure you always test out the new kernel before removing the working one you are changing from.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.