If you have attempted to install VirtualBox in macOS Mojave you may have noticed the installation sometimes fails with a generic “The installation failed” error message. Then, when trying to run VirtualBox you may experience another error saying “Kernel driver not installed” and VirtualBox fails to function.
The reason for the installation failure and the inability for the kernel module to load successfully is due to security restrictions in MacOS Mojave, and thus to be able to successfully install VirtualBox and run the app you will need to make a relatively simple bypass of those aforementioned security restrictions.
Follow this steps:
1.Assuming you have already downloaded VirtualBox onto the Mac (it’s free to download here), here is how you can successfully install and run VirtualBox in MacOS Mojave:
- Run the VirtualBox installer as usual, you’ll eventually see the “Installation Failed” message. VirtualBox install fails Quit out of the VirtualBox installer after it fails
- Pull down the Apple menu and open System Preferences
- Choose “Security & Privacy” and go to the ‘General’ tab within Security preference panel, then click the lock button and enter the administrator password
- At the bottom of the Security General section, look for the message stating “System software from developer ‘Oracle America, Inc’ was blocked from loading” and click the “Allow” button.
- Relaunch the VirtualBox installer and proceed through the installation as usual, it should now succeed as expected
Go ahead and run VirtualBox as usual, it should load fine without any further kernel driver error messages. Enjoy :)