macOS Catalina root of the locking problem solving

End update macOS Catalina (Version 10.15), found in / data directory root is removed, and was very upset, and colleagues found a way to engage in the exchange back, here's how.

1. Off Press cmd + R reboot into recovery mode, turn off the SIP (command: csrutil disable), normal restart
2. remount the root directory (command: sudo mount -uw /), establish data directory where you like, such as mkdir / users / allen / data, and then establishing a soft connection LN -s the sudo / Users / Allen / Data / Data
3. (this step is optional) off press cmd + R reboot into recovery mode, reopen SIP (command: csrutil enable ), normal restart
4. now normal use / data directory of

Quote from: https://zhuanlan.zhihu.com/p/85784733  thank Gangster

Guess you like

Origin www.cnblogs.com/patrick-king/p/11752413.html