[WorksForMe] Missing VERR_VM_DRIVER

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
scifirdr
Posts: 10
Joined: 18. Mar 2013, 20:57

[WorksForMe] Missing VERR_VM_DRIVER

Post by scifirdr »

I am new to this forum and don't know what info you need. I just purchased a new iMac computer and transferred all my apps and files to it using Migration Assistant. I am running Mojave. When I started VirtualBox I get an error message that VERR_VM_DRIVER is missing. Then Virtual Box supposedly quits according to the message but it is still up. Tried to uninstall Virtual Box but it didn't uninstall. I tried to reinstall but it said installation failed.

If someone could tell me where I can get that driver and where to place it I would appreciate it. I have a clone of my old computer and looked for that file but didn't find it.

Thank you for your help.
Last edited by socratis on 14. Oct 2018, 00:04, edited 1 time in total.
Reason: Marked as [WorksForMe].
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: Missing VERR_VM_DRIVER

Post by socratis »

scifirdr wrote:Tried to uninstall Virtual Box but it didn't uninstall.
Why? How do you know? What did you run? What failed? What were the error messages?
scifirdr wrote:I tried to reinstall but it said installation failed.
Exactly the same questions as above. With "it failed" and "it didn't work", we won't get far. We need details. More details. ALL the details...

Have a look at the thread "Installation fails on 10.13.x (rc=-1908)", all of the thread...
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.
scifirdr
Posts: 10
Joined: 18. Mar 2013, 20:57

Re: Missing VERR_VM_DRIVER

Post by scifirdr »

Here is what the alert said:
Kernel driver not installed (rc=-1908)
Make sure the kernel module has been loaded successfully.
where: suplibOsinit what: 3
VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open retuned ENOENT.
On trying to install without uninstalling (which didn't work) it said installation failed.
The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
As far as uninstalling, I ran the Virtualbox_Uninstall.tool on the Virtual Box installer which opened Terminal. Here is the script from Terminal:

Code: Select all

Do you wish to uninstall VirtualBox (Yes/No)?
Yes

The uninstallation processes requires administrative privileges
because some of the installed files cannot be removed by a normal
user. You may be prompted for your password now...

Please enter helenhauer's password:
Successfully unloaded VirtualBox kernel extensions.
Done.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Process completed]
However, VB is still installed and will open but not run Windows 10
Last edited by socratis on 13. Oct 2018, 17:42, edited 1 time in total.
Reason: Enclosed the information in [quote] tag for better readability
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: Missing VERR_VM_DRIVER

Post by socratis »

You're starting backwards. If the installation doesn't work because it can't load the kernel extensions, of course you're going to get the first error.

The question is why do you get the second error. That's why I want to see the installer log. I told you to read the whole "Installation fails on 10.13.x (rc=-1908)". In there there are the instructions on how to get a complete log, as well as the output of some key commands.

The third part seems incomplete, but that's to be expected up to a point, because the installation failed to begin with.
scifirdr wrote:However, VB is still installed and will open but not run Windows 10
VB usually refers to Visual Basic. VirtualBox is usually referred to as "VirtualBox" or "VBox" in its shorter form. ;)

Running Win10 will not work if you don't have a successful installation, so there's absolutely no point in trying. Now, how is VirtualBox still installed, it's beyond me. Let's see the installer complete log and the output of the commands and we'll take it from there, one step at a time...
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.
scifirdr
Posts: 10
Joined: 18. Mar 2013, 20:57

Re: Missing VERR_VM_DRIVER

Post by scifirdr »

Attached is the installer log.

Here is info from Terminal (I think).
$ ls -aled@ /
drwxr-xr-x  44 root  wheel  1408 Oct 13 10:10 /

$ ls -aled@ /Applications
drwxrwxr-x+ 108 root  admin  3456 Oct 13 12:20 /Applications
 0: group:everyone deny delete

$ ls -aled@ /Applications/VirtualBox.app
drwxr-xr-x  3 root  admin  96 Aug 14 08:02 /Applications/VirtualBox.app

$ ls -aled@ /private/tmp
drwxrwxrwt  31 root  wheel  992 Oct 13 12:29 /private/tmp
What else do you need?
Attachments
Installer Log 13-Oct-2018.txt.zip
(3.03 KiB) Downloaded 36 times
Last edited by socratis on 14. Oct 2018, 00:03, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
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: Missing VERR_VM_DRIVER

Post by socratis »

Oct 13 12:20:28 Helens-iMac installd[466]: ./postflight: /Library/Application
        Support/VirtualBox/VBoxDrv.kext failed to load - (libkern/kext) system policy
        prevents loading; check the system/kernel logs for errors or try kextutil(8).
You *do* have a problem with allowing Oracle to start the kexts. You've never allowed it! Here's what you do:
  • Reboot the computer to reset the 30 minute timer.
  • Start the VirtualBox installation. If it fails, let it finish and go to "System Preferences..." » "Security & Privacy" » "General" and allow Oracle to install kexts.
  • Restart the VirtualBox installation. It should work this time.
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.
scifirdr
Posts: 10
Joined: 18. Mar 2013, 20:57

Re: Missing VERR_VM_DRIVER

Post by scifirdr »

It worked. All installed and running. Thank you for all your 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: Missing VERR_VM_DRIVER

Post by socratis »

Glad you got it going. Marking as [WorksForMe].
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