Big Sur Host Issues

For discussions related to using VirtualBox on Mac OS X pre-releases

Re: Big Sur Host Issues

Postby jimstrong » 30. Sep 2020, 17:19

Thanks - but I have been through that process several times - the System Preferences, Security and Privacy "allow" button never appears.
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby scottgus1 » 30. Sep 2020, 17:30

One post on Mac Hosts suggests that Security and Privacy should be open while Virtualbox is being installed. Try uninstalling Virtualbox, rebooting, then open Security and Privacy and monitor it while Virtualbox is being reinstalled. See what that does.
scottgus1
Site Moderator
 
Posts: 10333
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Big Sur Host Issues

Postby jimstrong » 30. Sep 2020, 17:49

Thanks again - I have been doing that - and just additionally tried
sudo spctl --master-disable
to enable install from anywhere, but I still get "Installation Failed".

Tried proceeding nevertheless and then rebooting and running
Executing: /usr/bin/kmutil load -b org.virtualbox.kext.VBoxDrv
Executing: /usr/bin/kmutil load -b org.virtualbox.kext.VBoxNetFlt
Executing: /usr/bin/kmutil load -b org.virtualbox.kext.VBoxNetAdp
Executing: /usr/bin/kmutil load -b org.virtualbox.kext.VBoxUSB

but same result with NS_ERROR_FAILURE
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby jimstrong » 2. Oct 2020, 06:55

scottgus1 wrote:One post on Mac Hosts suggests that Security and Privacy should be open while Virtualbox is being installed. Try uninstalling Virtualbox, rebooting, then open Security and Privacy and monitor it while Virtualbox is being reinstalled. See what that does.

Have now managed to get an install by following these instructions, but not rebooting in between (which is whatI had been doing).
I still get the NS_ERROR message when stating a VM normally, but this morning found out that a headless start seems to work OK! So this seems to point to something in the normal startup configuration.
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby aeichner » 2. Oct 2020, 19:18

https://www.virtualbox.org/wiki/Testbuilds got updated with a new 6.1 testbuild including a crash fix when clicking on anything in the GUI which opens a popup menu. For installation it is advised to completely uninstall the old VirtualBox install, reboot and then reinstall VirtualBox and reboot again to make sure that the old KEXTs are removed before the new ones are installed.
aeichner
Oracle Corporation
 
Posts: 172
Joined: 31. Aug 2007, 19:12

Re: Big Sur Host Issues

Postby h72837 » 3. Oct 2020, 10:12

I'm on the latest macos beta build. I downloaded 140728, installed it with security options unlocked and when prompted I rebooting to allow virtualbox components to run. Re-ran the installer and installation finished successfully. I'm able to run ubuntu x64 VM.

I didn't have to run

Code: Select all   Expand viewCollapse view
sudo kextload -b org.virtualbox.kext.VBoxDrv                                                                                 
sudo kextload -b org.virtualbox.kext.VBoxNetFlt
sudo kextload -b org.virtualbox.kext.VBoxNetAdp
sudo kextload -b org.virtualbox.kext.VBoxUSB


and didn't have to boot into Recovery Mode (Command+R) and access Terminal to disable SIP with command

Code: Select all   Expand viewCollapse view
csrutil disable
h72837
 
Posts: 5
Joined: 27. Sep 2020, 14:33

Re: Big Sur Host Issues

Postby jimstrong » 3. Oct 2020, 10:36

I'm not seeing any of those prompts, so am thinking there' may be an issue with my setup and that it's time for a reinstall (I've been doing upgrades only for several versions).

Carrying that out now and will report back.
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby jimstrong » 3. Oct 2020, 11:58

jimstrong wrote:Carrying that out now and will report back.

No difference. Uninstalled and reinstalled - can get VirtualBox to launch, but still get NS_ERROR on existing and new Virtual Machines
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby h72837 » 3. Oct 2020, 12:08

jimstrong wrote:I'm not seeing any of those prompts, so am thinking there' may be an issue with my setup and that it's time for a reinstall (I've been doing upgrades only for several versions).

Carrying that out now and will report back.

My macos beta install is a fresh one. In my previous install I remember that I got the security popup only once even after uninstalling and reinstalling virtualbox.
If you allowed the components once then you are fine.
h72837
 
Posts: 5
Joined: 27. Sep 2020, 14:33

Re: Big Sur Host Issues

Postby jimstrong » 3. Oct 2020, 13:04

h72837 wrote:If you allowed the components once then you are fine.

Thanks for that. I did a full reinstall of Big Sur from Recovery and got VirtualBox running, but still not the Machines.

Maybe the next step is to do a completely clean "Wipe and install" of Big Sur and reimport my data manually from backup, but apart from VirtualBox everything else is running well (apart from a display glitch with the iCloud Drive "Options" button).
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby h72837 » 3. Oct 2020, 13:33

jimstrong wrote:
h72837 wrote:If you allowed the components once then you are fine.

Thanks for that. I did a full reinstall of Big Sur from Recovery and got VirtualBox running, but still not the Machines.

Maybe the next step is to do a completely clean "Wipe and install" of Big Sur and reimport my data manually from backup, but apart from VirtualBox everything else is running well (apart from a display glitch with the iCloud Drive "Options" button).

after you tried to run a vm

run these commands
Code: Select all   Expand viewCollapse view
sudo dmesg

Code: Select all   Expand viewCollapse view
sudo kmutil dumpstate

Code: Select all   Expand viewCollapse view
sudo kmutil showloaded


and post the output in this ticket thread

https://www.virtualbox.org/ticket/19795

vbox devs are actively monitoring that thread
h72837
 
Posts: 5
Joined: 27. Sep 2020, 14:33

Re: Big Sur Host Issues

Postby jimstrong » 3. Oct 2020, 14:42

I will!! Thanks!
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby aeichner » 5. Oct 2020, 10:59

Thanks for the feedback so far, there is a new testbuild available at https://www.virtualbox.org/wiki/Testbuilds which contains some fixes to the installer. When testing make sure that you have completely uninstalled VirtualBox and rebooted the host before attempting to install it again. Please also don't disable SIP because we're interested in feedback with everything enabled, the testbuild is fully signed and notarized so there should be no issue in that regard.
The installer should show a prompt now to notify the user that a reboot is required but with a a Beta 9 host here this doesn't appear to work always and Apple doesn't show any dialog either. So in any case you have to reboot again after installing VIrtualBox (annoying but this is something we can not change or work around in any way, this is enforced by Apple and their new style of loading KEXTs...).
aeichner
Oracle Corporation
 
Posts: 172
Joined: 31. Aug 2007, 19:12

Re: Big Sur Host Issues

Postby jimstrong » 5. Oct 2020, 12:10

Success!! Great work - thanks!!

- Uninstalled and rebooted
- SIP Enabled
- Kept System Prefs closed
- Installation succeeded
- Installed Extensions pack
- Rebooted*
- Virtual Machine started up

*I'm on beta 9 and - as you suggested - didn't get the prompt to reboot.
jimstrong
 
Posts: 10
Joined: 29. Sep 2020, 17:58

Re: Big Sur Host Issues

Postby faberge » 7. Oct 2020, 03:18

I did not have success with Test Build (6.1.x revision 140753). Just upgraded to BIg Sur Beta 9.

1. Uninstalled Virtual Box using the tool.
2. Rebooted.
3. Installed Virtual Box (did receive prompt to allow VirtualBox to make changes).
4. Rebooted
5. VirtualBox will open, but neither existing or new VMs will not run.

I did not get prompts about a reboot.

I receive this error when trying to run any VMs:

Code: Select all   Expand viewCollapse view
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.
faberge
 
Posts: 3
Joined: 7. Oct 2020, 03:12

PreviousNext

Return to VirtualBox on Mac OS X pre-releases

Who is online

Users browsing this forum: No registered users and 1 guest