VirtualBox error : kernel driver not installed(rc=-1908)

sachin
edited March 2023 in Linux

I have a set up an virtual machine on Ubuntu 22.04.2 LTS installed Oracle Vm VirtualBox Manager. It was working fine but after updating my OS, when I starts any existing VM or even try creating a fresh one then I get such an error :

 Kernel driver not installed (rc=-1908)

 The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a                   
 permissionproblem with /dev/vboxdrv. Please reinstall the kernel module by 
 executing

 '/etc/init.d/vboxdrv setup'

 as root. If it is available in your distribution, you should install the DKMS package                               
 first. This package keeps track of Linux kernel changes and recompiles the vboxdrv  
 kernel module if necessary.


Answers

  • This may help you I have this issue everytime I get a Linux kernel update in Ubuntu. The instructions that it gives do not work for me but these two commands work everytime. It would be nice if everytime I got a kernel update these two commands would automatically run afterwards...

    sudo apt-get remove virtualbox-dkms
    sudo apt-get install virtualbox-dkms
    


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!