Error Install Virtualbox Mac

A Tech Blog About Everything

Error Install Virtualbox Mac

Error Install Virtualbox Mac

If you have tried to install VirtualBox in macOS Mojave, you may have noticed that the installation sometimes fails with a generic error message "Setup failed". Then, when you try to run VirtualBox, you may encounter another error saying "Kernel Driver Not Installed" and VirtualBox may not work anymore. We will discuss two different solutions to the VirtualBox installation / execution issue, one involving a gatekeeper bypass and the other using a Gatekeeper exception (for macOS 10.14.5 or later). The reason for the installation failure and the inability of the kernel module to load correctly are due to security restrictions in MacOS Mojave. Therefore, in order to install VirtualBox successfully and run the application, you will need to create a relatively simple workaround from those mentioned above. security restrictions (you can also disable Gatekeeper completely, but this is not generally recommended). By the way, although this article is obviously focused on VirtualBox, you will find that the same general process is needed to install other applications including kernel extensions.

Error Install Virtualbox Mac

How To Resolve The Installation Failed Error When Install VirtualBox On Mac

1. How To Enable VirtualBox To Be Installed On MacOS.

To solve this problem is not difficult, just follow the steps below.

  1. Click the Apple () menu at the top left of the menu bar.
  2. Then click on the System Preferences menu option.
  3. Click the Security and Privacy icon, and then click the General tab. You can see that there is a message (the loading of the system software from the developer "Oracle America, Inc." has been blocked) appears at the bottom of the window.
  4. Click the Allow button to dismiss the message. Now install VirtualBox again, it will succeed.

2. Install MacOS Application From Both App Store & Identified Developers.

  1. By default, your MacOS only allows installation of the MacOS application from the App Store. But you have the choice to install the MacOS application from identified developers. Please follow the steps below.
  2. Open the Security and Privacy window as described in section 1.
  3. Click the small lock icon in the lower left corner of the window to unlock the settings. You must provide the administrator password.
  4. Select the App Store radio button and the developers identified in the Allow apps downloaded from area.
  5. Click the small lock to save the changes.
  6. Now you can install MacOS apps downloaded from App Store and identified developers.