[Resolved] VBoxDrv.kext failed to load

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Ryan.Watson
Posts: 4
Joined: 12. Feb 2019, 15:41

[Resolved] VBoxDrv.kext failed to load

Post by Ryan.Watson »

Ive read all the posts but still cant resolve this issue. during the installation I have gone to security & Privacy but there is no option to "Allow Oracle" that appears either before during or after installation.

Im running Mac OS High Sierra, its a fairly new machine and im a bit of a novice so bear with me.

I downloaded virtual box and attempted to install. but I get the Installation failed message. during the installation Ive looked in the security & Preferences but where people have referred to a message asking me to allow the installation from Oracle There is nothing there. No I have had this message for another piece of software I installed but for some reason it does not appear during the installation of VirtualBox.
I have attached my installation log.

Any help would be appreciated.
Thanks
Attachments
Installer Log 12-Feb-2019.txt.zip
(3.24 KiB) Downloaded 36 times
Last edited by socratis on 18. Feb 2019, 11:50, edited 1 time in total.
Reason: Marked as [Resolved].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBoxDrv.kext failed to load

Post by socratis »

@Ryan.Watson
It seems that you have a permissions problem with your setup:
Feb 12 06:03:42 DMI27s-MBP installd[496]: ./postflight: /Library/Application
	Support/VirtualBox/VBoxDrv.kext failed to load - (libkern/kext) authentication
	failure (file ownership/permissions); check the system/kernel logs for errors or
	try kextutil(8).
Why exactly is that? Have you willingly modified some system permissions? Anything system-wide-modifying installed? Post the output of the command:

Code: Select all

ls -laed@ \
  / \
  /Applications \
  /Applications/VirtualBox.app \
  /Applications/VirtualBox.app/Contents/MacOS/VirtualBox \
  /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM \
  /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
  /Library/Application\ Support/VirtualBox \
  /private \
  /private/etc \
  /private/etc/sudoers \
  /private/tmp
PS. I've removed your duplicate post. According to the forum rules, duplicate posts are not allowed.
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.
Ryan.Watson
Posts: 4
Joined: 12. Feb 2019, 15:41

Re: VBoxDrv.kext failed to load

Post by Ryan.Watson »

I honestly don't know why that it, I may have done something inadvertently but Im a bit of a novice. Below is the result of the command
drwxr-xr-x  29 root  wheel       928 13 Feb 08:09 /
drwxrwxr-x+ 44 root  admin      1408 14 Feb 04:17 /Applications
 0: group:everyone deny delete
drwxr-xr-x   3 root  admin        96 25 Jan 10:45 /Applications/VirtualBox.app
-rw-r--r--   1 root  admin   5903952 25 Jan 10:46 /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib
-rwxr-xr-x   1 root  admin  33067904 25 Jan 10:46 /Applications/VirtualBox.app/Contents/MacOS/VirtualBox
-rwsr-xr-x   1 root  admin    157264 25 Jan 10:46 /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM
drwxr-xr-x   7 root  wheel       224 14 Feb 04:17 /Library/Application Support/VirtualBox
drwxr-xr-x   6 root  wheel       192 27 Mar  2018 /private
drwxr-xr-x  88 root  wheel      2816 13 Feb 07:49 /private/etc
-r--r-----   1 root  wheel      1563 12 Feb  2018 /private/etc/sudoers
drwxrwxrwt  14 root  wheel       448 14 Feb 04:17 /private/tmp
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBoxDrv.kext failed to load

Post by socratis »

The permissions look fine. I will need you to list the output of a couple more commands:

Code: Select all

ls -laed@ \
  /Library \
  /Library/Application\ Support \
  /Library/Application\ Support/VirtualBox

ls -ale@ /Library/Application\ Support/VirtualBox

ls -ale@ /private/tmp
Something is definitely not right with the permissions. The question is "what". I'd hate to force you to re-install OSX just because of a small glitch...
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.
Ryan.Watson
Posts: 4
Joined: 12. Feb 2019, 15:41

Re: VBoxDrv.kext failed to load

Post by Ryan.Watson »

Thanks for this. I haven't really set much up on my device so I can do a re-install if necessary.
Thanks

Code: Select all

DMI27s-MacBook-Pro:~ DIIU27$ ls -laed@ \
>   /Library \
>   /Library/Application\ Support \
>   /Library/Application\ Support/VirtualBox
drwxr-xr-x+ 62 root  wheel  1984 14 Feb 17:50 /Library
 0: group:everyone deny delete
drwxr-xr-x  14 root  admin   448 14 Feb 16:58 /Library/Application Support
drwxr-xr-x   7 root  wheel   224 14 Feb 16:58 /Library/Application Support/VirtualBox
DMI27s-MacBook-Pro:~ DIIU27$ 
DMI27s-MacBook-Pro:~ DIIU27$ ls -ale@ /Library/Application\ Support/VirtualBox
total 0
drwxr-xr-x   7 root  wheel  224 14 Feb 16:58 .
drwxr-xr-x  14 root  admin  448 14 Feb 16:58 ..
drwxr-xr-x   4 root  wheel  128 25 Jan 18:45 LaunchDaemons
drwxr-xr-x   3 root  wheel   96 25 Jan 18:45 VBoxDrv.kext
drwxr-xr-x   3 root  wheel   96 25 Jan 18:45 VBoxNetAdp.kext
drwxr-xr-x   3 root  wheel   96 25 Jan 18:45 VBoxNetFlt.kext
drwxr-xr-x   3 root  wheel   96 25 Jan 18:45 VBoxUSB.kext
DMI27s-MacBook-Pro:~ DIIU27$ 
DMI27s-MacBook-Pro:~ DIIU27$ ls -ale@ /private/tmp
total 0
drwxrwxrwt  5 root    wheel  160 15 Feb 11:29 .
drwxr-xr-x  6 root    wheel  192 28 Mar  2018 ..
drwx------  3 DIIU27  wheel   96 15 Feb 11:29 com.apple.launchd.GZY54GUMZ3
drwx------  3 DIIU27  wheel   96 15 Feb 11:29 com.apple.launchd.sMlBg8Lqoq
drwxr-xr-x  2 root    wheel   64 15 Feb 11:29 powerlog
DMI27s-MacBook-Pro:~ DIIU27$ 
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBoxDrv.kext failed to load

Post by socratis »

Again, everything looks appropriate, permissions set as they should. I don't know what might be wrong here. Sorry about that...
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.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: VBoxDrv.kext failed to load

Post by andyp73 »

In Terminal.app Can you try running the following:
sudo kextutil -v -t /Library/Application\ Support/VirtualBox/VBoxDrv.kext
If it reports anything we don't already know then post it here.

-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.
Ryan.Watson
Posts: 4
Joined: 12. Feb 2019, 15:41

Re: VBoxDrv.kext failed to load

Post by Ryan.Watson »

Ive done a re-install of MaxOS and it has now worked. Thanks for you help.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VBoxDrv.kext failed to load

Post by socratis »

Well, I'm not sure we helped at all, if you had to reinstall at the end to get things going. It would have been a good learning experience if we had gotten to the bottom of the failure. Oh, well...

Marking as [Resolved].
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.
Post Reply