VirtualBox broken on OS X 10.9 Mavericks?

After upgrading to OS X 10.9 Mavericks, I could no longer get my virtual machine to gain access to my wifi.

The fix is as detailed by the user Jabbslad in their post on 06-Oct-13, in this thread:

I was getting the alarming error message below when attempting to boot my instance:

Failed to open a session for the virtual machine
Failed to open/create the internal network 'HostInterfaceNetworking-en1: Wi-Fi (AirPort)' (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND).
Result Code: NS_ERROR_FAILURE (0x80004005)

However, as I say, the above workaround resolved my problems. And just in case that page ever disappears…:

— 8< --- OS X 10.9 Mavericks has deprecated the StartupItems mechanism for starting services on boot. Until this is fixed it looks like VirtualBox's host-only networking is broken as per ticket: #8940. This also means if you use Vagrant it will complain that it can't start boxes. The temporary workaround is to create a Launch Daemon yourself. This Launch Daemon will call the old StartupItems script. 1.) Create a 'virtualbox.plist' file in '/Library/LaunchDaemons'. (Note: You will need to sudo to create the file). 2.) Add the following content to the file before saving it:- <?xml version="1.0" encoding="UTF-8"?>  <plist version="1.0">    <dict>     <key>Label</key>     <string>virtualbox</string>     <key>ProgramArguments</key>     <array>       <string>sh</string>       <string>/Library/StartupItems/VirtualBox/VirtualBox</string>       <string>restart</string>     </array>     <key>KeepAlive</key>     <false/>     <key>RunAtLoad</key>     <true/>   </dict> </plist> 3.) Run the following two commands so the Launch Daemon is auto-started when OS X boots:- sudo chown root /Library/LaunchDaemons/virtualbox.plist sudo launchctl load -w /Library/LaunchDaemons/virtualbox.plist 4.) Restart your machine to test (optional) sudo shutdown -r now Hopefully a fix will be issued soon, in the mean time this will mean you don't need to keep running 'sudo /Library/StartupItems/VirtualBox/VirtualBox restart' every time you restart your Mac. Jabbslad

Leave a Reply