I’ve been trying to get VirtualBox running, but everytime i start a VM, i get an error “Kernel driver not installed (rc=-1908)”
I’ve followed the steps in the manjaro wiki and installed the linux66-virtualbox-host-modules package (not installing the right headers always seemed to be the cause of the issue when other people had this problem).
“vboxmanage --version” outputs
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (6.6.23-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.
(which results into)
sudo: /sbin/vboxconfig: command not found
I rebooted my system multiple times, after installation. The wiki also mentions to run “sudo vbox-reload” instead of rebooting, but this also outputs an “command not found” error.
Virtualization is enabled in BIOS
“LC_ALL=C lscpu | grep Virtualization” output:
Virtualization: AMD-V
“mhwd-kernel -li” output:
Currently running: 6.6.23-1-MANJARO (linux66)
The following kernels are installed in your system:
* linux66
This conflicts with linux66-virtualbox-host-modules, which the wiki says needs to be installed, so i don’t think this is the solution, unless the wiki is outdated?
As I have it, if you have the dkms modules, you don’t need the kernel-specific ones, like above. Heree’s mine:
$ pamac search --installed virtualbox
[...]
virtualbox-host-dkms 7.0.14-2 extra
VirtualBox Host kernel modules sources
virtualbox 7.0.14-2 extra
Powerful x86 virtualization for enterprise as well as home use
and a lot of the topics in this forum that i found in a minute point out that the virtualbox-guest package is also needed and the vboxdrv-module must be loaded.
that should work automatically if you use the proper installation but i have my concerns if this happened.
If you really did following the guide - you would know that the correct command to reload the modules is
sudo vboxreload
You need to decide which host module package you will use.
If you go down the dkms road - the one I personally prefer - you need the headers for your running kernel - and the host module packages are mutually exclusive.
Assuming you go down the dkms road and you are using linux66