Opened 4 years ago
Closed 2 years ago
#20637 closed defect (fixed)
kexts are not loaded after Monterey 12.0.1 reboot
Reported by: | granada29 | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.28 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
The VirtualBox kext bundles are not automatically loaded after a system boot.
My workaround is to load them manually:
sudo su - cd /Library/Application\ Support/VirtualBox/ for f in *.kext; do kmutil load -p $f; done
Change History (15)
comment:1 by , 4 years ago
comment:3 by , 4 years ago
Thanks for the straightforward, sensible and concise reply. This is exactly the issue I was having with Monterey.
comment:4 by , 3 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:5 by , 3 years ago
Reopened. #20636 is about VBoxHeadless not starting.
This PR is about kext not being automatically loaded during boot / when needed.
comment:6 by , 3 years ago
I am not sure if this was already known, but on GitHub someone addressed the possible issue here: https://github.com/hashicorp/vagrant/issues/12557#issuecomment-957559631 I hope this will be useful in creating a new maintenance release which fixes the issues for MacOS Monterey
comment:7 by , 3 years ago
Sadly I am unable to load the kernel extensions due to:
Error Domain=KMErrorDomain Code=27 "Extension with identifiers org.virtualbox.kext.VBoxNetAdp,org.virtualbox.kext.VBoxNetFlt,org.virtualbox.kext.VBoxDrv,org.virtualbox.kext.VBoxUSB not approved to load. Please approve using System Preferences." UserInfo={NSLocalizedDescription=Extension with identifiers org.virtualbox.kext.VBoxNetAdp,org.virtualbox.kext.VBoxNetFlt,org.virtualbox.kext.VBoxDrv,org.virtualbox.kext.VBoxUSB not approved to load. Please approve using System Preferences.}
I mention that they do not appear inside Security & Privacy screen, maybe because the prerelease versions are not signed?
comment:8 by , 3 years ago
All our builds are always signed, but as the test build page clearly states the overall package isn't notarized which means that the kernel extensions will not be loaded unless you disable SIP. At least that's how it was to my knowledge until Big Sur...
I'm already thinking about creating a special test build for macOS which is notarized, to get this issue resolved for those who can't disable SIP.
comment:10 by , 3 years ago
Assuring that the test-builds are signed is indeed a very useful thing to do. TBH, I can disable SIP but I will not do it. It is a very bad security practice and I avoiding using any software that requires it, especially as it opens the door for future security issues. SIP is far worse than "root".
I guess that @summe cannot load extension by hand due to SIP too. The commands for loading them are in the first comment, but they will work with test build only when SIP is disabled.
follow-up: 13 comment:12 by , 3 years ago
Could you try with this test build? It is notarized, to avoid the usual SIP trouble...
comment:13 by , 3 years ago
Replying to klaus:
Could you try with this test build? It is notarized, to avoid the usual SIP trouble...
I installed your build on my MacOs Monterey (12.0.1) and after a reboot it worked (meaning no need to load kext bundles manually). Grüße
comment:15 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I confirm. After every MacOS reboot, I need to load the kexts manually...