MacOS 10.13 Installation VirtualBox failed enviroment
- macos:10.13 High Sierra
- virtualbox:5.1.28
Problem description
Today Mac Reinstall the system, upgrade to 10.13, install VirtualBox when the installation is always failed. The specific symptom is that the installation failed at the last step and a critical error occurred.
such as :
The weirdest thing is, in the/applications/can find VirtualBox, and can open the interface, but not virtual machine, will be error:
Kernel drivers not installed (rc = -1908)
Reason
Google, found a solution on the stackexchange
High Sierra comes with a new security feature:secure Kernel Extension Loading, which blocks Kernel Extension Loading.
That is, VirtualBox needs to install kernel extensions (Kernel extenstion)when installing, and the new security features of MacOS 10.13 High Sierra will prevent external the installation of the kernel extension, so the installation will always be intercepted by the system.
such as :
Solutions
Go to Preferences > Security & Privacy > General: Then manually allow
Manually disabling this security feature at the terminal (not recommended)
sudo spctl --master-disable
============================
My solution (8 Oct, 2017)
I was trying to solve it in the first way, but then I found a problem:
Unable to create a new host-only virtual network card , the error will be reported No such file or directory
.
So simply use method two disable this security feature, then reload VirtualBox, reload everything normal.
MacOS 10.13 Installation VirtualBox failed