VirtualBox error : kernel driver not installed(rc=

2020-06-30 06:45发布

I tried to set up an virtual machine on Ubuntu 12.10.I installed Oracle Vm VirtualBox Manager. Then, i followed the steps and i choose .iso file from settings>storage.Then clicked live cd/dvd option.Then OK,when i clicked to start button 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.

I reinstalled program and rebooted pc, but not worked.Also, updated kernel driver but not worked.What can be done to solve it ?

16条回答
【Aperson】
2楼-- · 2020-06-30 07:18

I had the same problem and I fix it with this:

rm -r /etc/init.d/vboxdrv
rm -r /var/lib/update-rc.d/vboxdrv 
apt-get install virtualbox virtualbox-dkms virtualbox-guest-utils virtualbox-guest-additions virtualbox-qt

via : https://superuser.com/questions/652850/error-while-installing-virtualbox

查看更多
Ridiculous、
3楼-- · 2020-06-30 07:18

Firstly open a terminal and write this command:

  • sudo apt-get remove virtualbox-dkms

and after finish this operation, write this command:

  • sudo apt-get install virtualbox-dkms

This solved the problem. Do not worry, your files will not be lost.

查看更多
贼婆χ
4楼-- · 2020-06-30 07:19

The below code seems to fix the error. It might recur when you update your distrbution, so make sure to rerun it.

sudo modprobe vboxdrv

查看更多
Ridiculous、
5楼-- · 2020-06-30 07:29

This one in recovery mode answered by @idkn worked for me.

spctl kext-consent add VB5E2TV963
查看更多
登录 后发表回答