[Fixed] 5.2.12 install fails on macOS Mojave (#17805)
[Fixed] 5.2.12 install fails on macOS Mojave (#17805)
ModEdit; related ticket: #17805: macOS 10.14 Mojave: VBoxDrv.kext < 5.3 Blocked By AppleKextExcludeList.kext
UPDATE: Fixed with VirtualBox 5.2.14 on OSX 10.14b4 and later
5.2.12 install fails on macOS Mojave, with error "kext not supported" directly from mac notification system.
Last edited by socratis on 10. Nov 2018, 11:54, edited 4 times in total.
Reason: Added ticket related information.
Reason: Added ticket related information.
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: 5.2.12 install fails on macOS Mojave
There is a known issue with High Sierra (a.k.a. only allowing applications installed from the App Store by default). One would expect that Mojave will be the same but worse! Have you been into the Security and Privacy settings to allow installation of software from Oracle?
-Andy.
-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
-
- Posts: 22
- Joined: 15. Dec 2012, 01:42
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Various flavors of Linux
Re: 5.2.12 install fails on macOS Mojave
I have my installation of macOS Mojave configured to allow installation of software "from the App Store and identified developers" and I saw the same issue, but I did not see the same error message. Once the installer package gets to the point where it's validating the packages, I see the error in the screenshot below.
Dave F
Mac OS 10.14 Fail Running and re-instal
hello,
I can't open the software VirtualBox on my macOs 10.14. The message says that a driver is not installed ( rc=1908)
Make sur the kernel module has been loaded successfully.
Thank You.
I can't open the software VirtualBox on my macOs 10.14. The message says that a driver is not installed ( rc=1908)
Make sur the kernel module has been loaded successfully.
Thank You.
- Attachments
-
- Capture d’écran 2018-06-05 à 12.45.41.png (92.19 KiB) Viewed 38920 times
-
- Site Moderator
- Posts: 27330
- 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
You might want to print the following steps, or save them in a test file on your desktop, because there are a couple of reboots, and you don't want to go "hunting" in the forums...
- Download the latest release, or the latest test build (NOT the development snapshot), if you don't already have them.
- Reboot.
- Make sure you're part of the "admin" group. If you are logged in with the primary user account/owner, you are part of the admin group.
- Mount the DMG from the previous step. Run "VirtualBox_Uninstall.tool". Make sure there are no error messages. If there are, please post them, exactly as they appear.
- Reboot.
- Mount the DMG from the previous steps. Double-click the "VirtualBox.pkg". As soon as you start the installation, press Cmd+L to show the log. Select "Show All Logs" from the drop-down menu. Before the last step of the installation (Done), click the "Save" in the log window. ZIP and attach that file.
If it fails, look (as soon as possible) in the 'dmesg' output. Post that as well. - Start VirtualBox. If it crashes, open "Console.app" and look at "~/Library/Logs". Is there a VirtualBox related log with the current date/time? ZIP and attach that file as well.
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.
-
- Site Moderator
- Posts: 27330
- 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
@CRonoS
I've merged your post with a similar one. 10.14 is in its first beta, and as such 1) it belongs to the "OSX pre-releases" section, and 2) the developers got their hands on 10.14 the same time as you did...
See my previous message about getting the installer logs.
PS. Next time, please downsize your attached images by 50% (at least), or simply change the DPI to 72. Not everyone is blessed with a HiDPI display
I've merged your post with a similar one. 10.14 is in its first beta, and as such 1) it belongs to the "OSX pre-releases" section, and 2) the developers got their hands on 10.14 the same time as you did...
See my previous message about getting the installer logs.
PS. Next time, please downsize your attached images by 50% (at least), or simply change the DPI to 72. Not everyone is blessed with a HiDPI display

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: 22
- Joined: 15. Dec 2012, 01:42
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Various flavors of Linux
Re: 5.2.12 install fails on macOS Mojave
Here is the installer log. VirtualBox itself seems to launch fine, though. I did not see any logs related to VirtualBox in "~/Library/Logs".
- Attachments
-
- Installer Log 5-Jun-2018.txt.zip
- (3.02 KiB) Downloaded 278 times
Dave F
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: 5.2.12 install fails on macOS Mojave
The installer log doesn't give much away:
-Andy.
It might be too late but was there anything in the 'dmesg' output that socratis suggested looking at and does kextutil give anything useful?Jun 5 07:51:31 Davids-MBP installd[458]: ./postflight: /Library/Application Support/VirtualBox/VBoxDrv.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).
-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
-
- Posts: 22
- Joined: 15. Dec 2012, 01:42
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Various flavors of Linux
Re: 5.2.12 install fails on macOS Mojave
I ran dmesg, but I didn't see any errors that mentioned VirtualBox. Then again, I have no clue how to interpret the output from dmesg. If you let me know the command line to use with kextutil, I can provide the output generated.
Dave F
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: 5.2.12 install fails on macOS Mojave
Direct the output into a text file and post it here and we can take a look.fishnet37222 wrote:Then again, I have no clue how to interpret the output from dmesg
The output from:
sudo kextutil -v -t /Library/Application\ Support/VirtualBox/VBoxDrv.kext
might give some clues (hopefully no-one has spotted yet that I am winging it)-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
-
- Posts: 22
- Joined: 15. Dec 2012, 01:42
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Various flavors of Linux
Re: 5.2.12 install fails on macOS Mojave
The attached ZIP file contains the output from both dmesg and kextutil.
- Attachments
-
- Archive.zip
- (951 Bytes) Downloaded 199 times
Dave F
-
- Site Moderator
- Posts: 27330
- 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
That would explain it:
Explains the why, but it doesn't explain the "Why exactly???".Kext rejected due to presence on exclude list: <OSKext 0x7fb405c18b40 [0x7fff88dcf8d0]> { URL = "file:///Library/Application%20Support/VirtualBox/VBoxDrv.kext/", ID = "org.virtualbox.kext.VBoxDrv" }
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.
Re: 5.2.12 install fails on macOS Mojave
Same thing here, system is not telling you the error in the log, i will try to extract something more
Re: 5.2.12 install fails on macOS Mojave
Jun 5 17:03:31 iMac-Retina installd[1382]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Se ha producido un error al ejecutar scripts desde el paquete “VirtualBox.pkg”." UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.vboxkexts, NSLocalizedDescription=Se ha producido un error al ejecutar scripts desde el paquete “VirtualBox.pkg”.} {
NSFilePath = "./postflight";
NSLocalizedDescription = "Se ha producido un error al ejecutar scripts desde el paquete \U201cVirtualBox.pkg\U201d.";
NSURL = "file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}
NSFilePath = "./postflight";
NSLocalizedDescription = "Se ha producido un error al ejecutar scripts desde el paquete \U201cVirtualBox.pkg\U201d.";
NSURL = "file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}
Re: 5.2.12 install fails on macOS Mojave
This is the error on running manually:
Code: Select all
sudo kextutil -v -t /Library/Application\ Support/VirtualBox/VBoxDrv.kext
Kext rejected due to presence on exclude list: <OSKext 0x7fce9af5b5d0 [0x7fff884448d0]>
Last edited by socratis on 5. Jun 2018, 18:06, edited 1 time in total.
Reason: Enclosed the information in [quote] tag for better readability
Reason: Enclosed the information in [quote] tag for better readability