vmware mac 10.11/10.12 虚拟机 共享文件夹/调整分辨率

warning: 这篇文章距离上次修改已过1635天,其中的信息可能已经有所变动。

虚拟机的mac升级到10.12后,分辨率被锁定1024x768,直接vi编辑配置文件无法保存,在vmware中共享的文件夹也无法打开。

原因是10.11之后增加了System Integrity Protection (SIP)功能,禁止让软件以 root 身份来在 Mac 上运行。

好在有办法关掉。

常规办法是在引导时按住command+R键,进入recovery environment,在终端进行操作,比如这样:

How to turn off System Integrity Protection in El Capitan

Click the menu.
Select Restart...
Hold down command-R to boot into the Recovery System.
Click the Utilities menu and select Terminal.
Type csrutil disable and press return .
Close the Terminal app.
Click the  menu and select Restart... .

不过虚拟机好像不太好正确按出来,可以尝试在引导时按住command键(普通键盘alt键)进入boot manager,然后选择Enter setup ——> Boot from a file ——> Recovery HD[PciRoot(0x0)/…] ——> ——> boot.efi

52899_o

52900_o

在菜单选择终端(Terminal),输入:

	
csrutil disable #此命令关闭SIP,关闭之后会有相应提示
csrutil status  #此命令查看SIP当前状态

然后重启就生效啦。

参考资料:
How to turn off system integrity protection on OS X
如何关闭OSX 10.11 SIP (System Integrity Protection)
vmware虚拟机内进入“恢复模式”关闭EI capitan的SIP功能

最后修改于:2020年08月18日 13:11

添加新评论