If you get the error message Failed to create Vbox host-only interface after upgrading macOs to Big Sur, try these workarounds:
Method 1
- Remove VirtualBox with the
VirtualBox_uninstall.tool
from the official VirtualBox dmg installer - Install VirtualBox 6.1.28. The installer for macOs can be found at https://download.virtualbox.org/virtualbox/6.1.28/VirtualBox-6.1.28-147628-OSX.dmg
- Reboot macOS. It is mandatory to reboot, otherwise VirtualBox will not be operational
- Go to System Preferences - Security & Privacy - General to authorize the installation of VirtualBox kernel modules:
Method 2
- Boot to recovery (cmd+R) and use the following command:
csrutil clear
- Reboot macOs:
reboot
- Uninstall VirtualBox and install VirtualBox 6.1.28
- Go to System Preferences - Security & Privacy - General to authorize the installation of VirtualBox kernel modules:
Method 3
- Uninstall VirtualBox with the uninstall tool found in the dmg (
VirtualBox_uninstall.tool
) - Restore SIP to default:
sudo csrutil clear
- Reboot
- Clear staging:
sudo kextcache --clear-staging
- Reboot
- Install VirtualBox 6.1.28 and follow system prompt to allow Oracle
- Go to System Preferences - Security & Privacy - General to authorize the installation of VirtualBox kernel modules:
Method 4
If none of the above worked for you, some users have reported that installing/upgrading xcode fixes the issue.
For more information about xcode, see https://developer.apple.com/support/xcode/