macOS Delete /private/var/folders by mistake and cause unbootable solution

概述:

启动进入命令行模式,挂载硬盘,创建目录,重启。

步骤:

1、关闭电脑,按住 Command+S 启动进入单人模式(single-user mode),进入命令行模式。

2、检查 root 文件系统

/sbin/fsck -fy

3、挂载 root 文件系统,需要读写权限
/sbin/mount -uw /

4、创建被删除的目录

mkdir /var/folders/zz
或者 mkdir /var/folders besides mkdir /var/folders/zz

5、重启

reboot

912sy.com download resources are from the network, only for learning and reference use, the copyright belongs to the original author, do not use for commercial purposes, please remove yourself within 24 hours after downloading.
If the content published on this site inadvertently violates your rights and interests, please contact us and the site will be deleted within one business day.If you encounter any problems please contact customer service QQ:2385367137
912sy " macOS Delete /private/var/folders by mistake and cause unbootable solution