Unable to start a Linux VM in VirtualBox with a "Kernel driver not installed (rc=-1908)" error on macOS even if VirtualBox is reinstalled
I am trying to start a Ubuntu (64-bit) Linux VM from VirtualBox (5.2.18 r124319 (Qt5.6.3)) on macOS High Sierra (10.13.6 (17G65)) running on a 2016 MacBook Pro 15"
The MacBook Pro in question is recently restored using my Time Machine Backup. I have enabled FileVault on the original MacBook Pro.
Here is the image of the error dialog box:
The text is:
Kernel driver not installed (rc=-1908)
Make sure the kernel module has been loaded successfully.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
I have enabled disk level encryption when I set up the Linux VM.
Here is some more details of the VM
It is what I picked up from the system.log
Sep 26 10:15:44 konga-mbp-loaner com.apple.xpc.launchd[1] (org.virtualbox.startup[95]): Service exited with abnormal code: 1
What I tried after the Linux VM failed to start:
- I tried to reinstall VirtualBox but the installation failed.
- Restart the machine and try reinstall again, also failed.
MACOS Catalina 2020
Run following command and to clear vmBox
sudo kextcache --clear-staging
after that reinstall virtualBox and go to your Preferences --> security & privacy -->select General
you will see a allow option there you have to allow that .
NOTE:- that allow option will be there only for 30 min after you installed VMBox, otherwise you have to do install again.
Basically it is because Apple has blocked some extensions from loading. After unblocking them I can reinstall VB as expected.