[Fixed] 5.2.12 install fails on macOS Mojave (#17805)
-
- Posts: 4
- Joined: 27. Jun 2018, 15:59
Re: 5.2.12 install fails on macOS Mojave (#17805)
Hold up. I went back and completely removed the VboxDrv section from the info plist instead of setting it to 'LT 5.2' and now it installed. I can't open the app because it says `You can’t use this version of the application “VirtualBox.app” with this version of macOS. You have "VirtualBox.app 5.2.13". However, my homestead/vagrant box comes up so I guess I am good.
-
- Posts: 1
- Joined: 27. Jun 2018, 18:29
Re: 5.2.12 install fails on macOS Mojave (#17805)
Thanks! Working again for me.
-
- Posts: 49
- Joined: 7. Jun 2018, 02:21
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Junos
- Location: San Diego, CA
Re: 5.2.12 install fails on macOS Mojave (#17805)
Same result.
I modified the kext Info.plist to be 5.4.12 (picked arbitrarily) instead of 5.2.12, and the kext now loads. I get the same error when I try to load the virtualbox GUI via Launchpad: However, If I run VirtualBox from the CLI, the GUI opens and I can now start VMs. That clearly explains exactly why it's now working in Vagrant for the previous poster. I'd add a screenshot but max filesize on this forum is 128KB
Looks like we have a working patch! I checked the source tree repo and it looks like this patch must have come from a development branch that isn't available to view for us peons. Can you shed some light on what was changed?
Unfortunately because of Apple's exclude kext it, Oracle is going to have to release this as 5.3 which is a bit silly for a minor revision, but it is what it is...
I modified the kext Info.plist to be 5.4.12 (picked arbitrarily) instead of 5.2.12, and the kext now loads. I get the same error when I try to load the virtualbox GUI via Launchpad: However, If I run VirtualBox from the CLI, the GUI opens and I can now start VMs. That clearly explains exactly why it's now working in Vagrant for the previous poster. I'd add a screenshot but max filesize on this forum is 128KB
Looks like we have a working patch! I checked the source tree repo and it looks like this patch must have come from a development branch that isn't available to view for us peons. Can you shed some light on what was changed?
Unfortunately because of Apple's exclude kext it, Oracle is going to have to release this as 5.3 which is a bit silly for a minor revision, but it is what it is...
Chris Jones
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
-
- Posts: 49
- Joined: 7. Jun 2018, 02:21
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Junos
- Location: San Diego, CA
Re: 5.2.12 install fails on macOS Mojave (#17805)
For those who want to try the new patch, install as usual (the installation will fail) and then do the following:
This assumes you have SIP disabled on your system (using csrutil disable from Recovery mode) so that an unsigned kext will load.
Code: Select all
sudo sed -i '' 's/5\.2/5\.3/g' '/Library/Application Support/VirtualBox/VBoxDrv.kext/Contents/Info.plist'
sudo kextload '/Library/Application Support/VirtualBox/VBoxDrv.kext'
kextstat -bundle-id org.virtualbox.kext.VBoxDrv
VirtualBox &
Chris Jones
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: 5.2.12 install fails on macOS Mojave (#17805)
Or, Apple can remove the exclusion in their next release (or make it < 5.2.12 | 5.1.38) , once they see that VirtualBox implemented the changes that they were blocking VirtualBox in the first place...IPv6Freely wrote:Unfortunately because of Apple's exclude kext it, Oracle is going to have to release this as 5.3 which is a bit silly for a minor revision, but it is what it is...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 49
- Joined: 7. Jun 2018, 02:21
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Junos
- Location: San Diego, CA
Re: 5.2.12 install fails on macOS Mojave (#17805)
Yup, also possible assuming that communication is there
Last edited by socratis on 28. Jun 2018, 23:29, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Chris Jones
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
-
- Posts: 5
- Joined: 27. Jun 2018, 19:53
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Debian
- Location: Antwerp, Belgium
Re: 5.2.12 install fails on macOS Mojave (#17805)
Unfortunately changing the version number doesn't fix it completely.
might work... but a subsequent
or
does not.
It will fail with:
because these kexts are looking for VBoxDrv 5.2.13, not 5.3.13.
Code: Select all
sudo kextload "/Library/Application Support/VirtualBox/VBoxDrv.kext"
Code: Select all
sudo kextload "/Library/Application Support/VirtualBox/VBoxUSB.kext"
Code: Select all
sudo kextload "/Library/Application Support/VirtualBox/VBoxNetAdp.kext"
It will fail with:
Code: Select all
/Library/Application Support/VirtualBox/VBoxUSB.kext - dependency 'org.virtualbox.kext.VBoxDrv' not found.
Diagnostics for /Library/Application Support/VirtualBox/VBoxUSB.kext:
Dependency Resolution Failures:
No kexts found for these libraries:
org.virtualbox.kext.VBoxDrv
Re: 5.2.12 install fails on macOS Mojave (#17805)
You need to change dependency versions in other kexts as well to match 5.3.13.
After doing so, still you might notice that
will fail.
In that case you can try:
which loaded the extension in my case.
After doing so, still you might notice that
Code: Select all
sudo kextload "/Library/Application Support/VirtualBox/VBoxUSB.kext"
In that case you can try:
Code: Select all
sudo kextutil -r /Library/Application\ Support/VirtualBox -bundle-id org.virtualbox.kext.VBoxUSB
-
- Posts: 5
- Joined: 27. Jun 2018, 19:53
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Debian
- Location: Antwerp, Belgium
Re: 5.2.12 install fails on macOS Mojave (#17805)
Thank you mkc, that was indeed it.
I had changed the dependency versions but kextload wouldn't load them. I had not thought (nor did I know) about kextutil -r
Thanks again. It still bugs me very much though that I don't know how to edit AppleKextExcludeList and have the changes become effective. Not even with `kextcache -i /` which seemed to rebuild all the kext caches.
I had changed the dependency versions but kextload wouldn't load them. I had not thought (nor did I know) about kextutil -r
Thanks again. It still bugs me very much though that I don't know how to edit AppleKextExcludeList and have the changes become effective. Not even with `kextcache -i /` which seemed to rebuild all the kext caches.
Re: 5.2.12 install fails on macOS Mojave (#17805)
Yaroon wrote:It still bugs me very much though that I don't know how to edit AppleKextExcludeList and have the changes become effective. Not even with `kextcache -i /` which seemed to rebuild all the kext caches.
IPv6Freely wrote: This assumes you have SIP disabled on your system (using csrutil disable from Recovery mode) so that an unsigned kext will load.
-
- Posts: 5
- Joined: 27. Jun 2018, 19:53
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Debian
- Location: Antwerp, Belgium
Re: 5.2.12 install fails on macOS Mojave (#17805)
Yeah, that's the case mkc
It's strange, I don't get it.
Code: Select all
$ csrutil status
System Integrity Protection status: disabled.
-
- Posts: 1
- Joined: 28. Jun 2018, 16:14
Re: 5.2.12 install fails on macOS Mojave (#17805)
Any idea when the patch will be released as an official release and be able to be run/Installed in Mojave without turning of system integrity?
-
- Posts: 49
- Joined: 7. Jun 2018, 02:21
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Junos
- Location: San Diego, CA
Re: 5.2.12 install fails on macOS Mojave (#17805)
Well, there's no real rush since the only people who would be running Mojave are developers anyway. So as long as it's out before Mojave comes out of Beta (late September, usually) it's fineCanuk In Augusta wrote:Any idea when the patch will be released as an official release and be able to be run/Installed in Mojave without turning of system integrity?
Chris Jones
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
-
- Posts: 49
- Joined: 7. Jun 2018, 02:21
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Junos
- Location: San Diego, CA
Re: 5.2.12 install fails on macOS Mojave (#17805)
Sorry guys, I should have mentioned the other kexts. Just use the commands from the postflight script (https://www.virtualbox.org/browser/vbox ... postflight):
Code: Select all
sudo sed -i '' 's/5\.2/5\.3/g' '/Library/Application Support/VirtualBox/VBoxDrv.kext/Contents/Info.plist'
sudo sed -i '' 's/5\.2/5\.3/g' '/Library/Application Support/VirtualBox/VBoxUSB.kext/Contents/Info.plist'
sudo sed -i '' 's/5\.2/5\.3/g' '/Library/Application Support/VirtualBox/VBoxNetAdp.kext/Contents/Info.plist'
sudo sed -i '' 's/5\.2/5\.3/g' '/Library/Application Support/VirtualBox/VBoxNetFlt.kext/Contents/Info.plist'
sudo kextload '/Library/Application Support/VirtualBox/VBoxDrv.kext'
sudo kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxUSB.kext'
sudo kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxNetFlt.kext'
sudo kextload -d '/Library/Application Support/VirtualBox/VBoxDrv.kext' '/Library/Application Support/VirtualBox/VBoxNetAdp.kext'
Virtualbox &
Last edited by IPv6Freely on 28. Jun 2018, 17:47, edited 1 time in total.
Chris Jones
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
-
- Posts: 49
- Joined: 7. Jun 2018, 02:21
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Junos
- Location: San Diego, CA
Re: 5.2.12 install fails on macOS Mojave (#17805)
I had been thinking about this, but honestly I'd feel better about editing the kext of a 3rd party application instead of a system kext. This works well enough, for now.Yaroon wrote:Thanks again. It still bugs me very much though that I don't know how to edit AppleKextExcludeList and have the changes become effective. Not even with `kextcache -i /` which seemed to rebuild all the kext caches.
Chris Jones
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta
Sr. Network Engineer - Sempra Energy
JNCIE-ENT #272, CCIE #25655 (R&S)
Apple Developer Program - Running macOS Mojave 10.14 Beta