{"id":1211,"date":"2022-04-13T14:56:37","date_gmt":"2022-04-13T20:56:37","guid":{"rendered":"https:\/\/www.schwie.com\/brad\/?p=1211"},"modified":"2022-04-13T14:56:37","modified_gmt":"2022-04-13T20:56:37","slug":"virtualbox-and-virtual-machine-startup-error","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=1211","title":{"rendered":"VirtualBox and virtual machine startup error"},"content":{"rendered":"<p>I added a Mojave virtual machine to VirtualBox on my Mac running Monterey, but suddenly neither of my virtual machines would launch, each spewed a message like this:<\/p>\n<p><code>virtualbox 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 returned ENOENT.<\/code><\/p>\n<p>and <\/p>\n<p><code>Error Domain=KMErrorDomain Code=27 \"Extension with identifiers org.virtualbox.kext.VBoxDrv,org.virtualbox.kext.VBoxNetAdp,org.virtualbox.kext.VBoxNetFlt,org.virtualbox.kext.VBoxUSB not approved to load. Please approve using System Preferences.\" UserInfo={NSLocalizedDescription=Extension with identifiers org.virtualbox.kext.VBoxDrv,org.virtualbox.kext.VBoxNetAdp,org.virtualbox.kext.VBoxNetFlt,org.virtualbox.kext.VBoxUSB not approved to load. Please approve using System Preferences.}<\/code><\/p>\n<p>Then I finally realized what the problem was. I had recently disabled SIP. To fix the issues above, I had to re-enable SIP following these steps:<\/p>\n<p>1. Reboot Mac in recovery mode, hold command and R when restarting your Mac.<br \/>\n2. In recovery mode, open Terminal.app and execute the command &#8220;csrutil enable&#8221;.<br \/>\n3. Restart your Mac and log in as usual.<br \/>\n4. Launch VirtualBox and then open System Preferences->Security and allow access to Oracle. You may have to reboot one more time after doing this.<\/p>\n<p>Before figuring this out, I had also uninstalled and reinstalled VirtualBox, but I&#8217;m not convinced that is completely necessary.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I added a Mojave virtual machine to VirtualBox on my Mac running Monterey, but suddenly neither of my virtual machines would launch, each spewed a message like this: virtualbox Kernel driver not installed (rc=-1908) Make sure the kernel module has &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=1211\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1211","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1211"}],"version-history":[{"count":1,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1211\/revisions"}],"predecessor-version":[{"id":1212,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1211\/revisions\/1212"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}