Today will be MBP Update to BigSur after ,VirtualBox Can't start CentOS virtual machine , Click start to pop up the error dialog box “ Not for virtual computers XXXX Open a new task ”, Click the details to show “The virtual machine'CentOS'has terminated unexpectedly during startup with exit code 1 (0x1).” No other hints .
Find the same problem online , There are plenty of them Applications Folder group permissions are not wheel The problem of , There are also problems with the new version . According to the explanation of the article, we tried one by one, but we still haven't solved it . But there's a new version BigSur The article in question mentions checking csrutil It can be solved after the state , By opening the csrutil Then start the virtual machine , An additional dialog box will pop up in the error report VirtualBox Of owner No root, modify owner Permission is root After starting up, it is normal .
The specific steps are as follows ：
1、 In the process of restarting the machine, press Command+R Enter recovery mode ;
2、 Run in the terminal of the utility csrutil clear Then restart the machine ;
3、 start-up VirtualBox Virtual machines in , Can display error messages . My machine prompts VirtualBox Of owner No root;
4、 modify VirtualBox Of owner： Open the terminal , function cd /Applications
sudo chown root:admin VirtualBox.app
Problem solving . Error screenshot not saved =_=