第一步:解锁SIP
完成后重启
NVRAM-Add-7C436110-AB2A-4BBB-A880-FE41995C9F82-csr-active-config改为FF0F0000
NVRAM-Block-7C436110-AB2A-4BBB-A880-FE41995C9F82增加csr-active-config
完成后重启
第二步:创建挂载目录
mkdir ~/livemount
第三步:挂载到目录
使用diskutil list查找自己的系统分区,disk1s5为我的系统分区
sudo mount -o nobrowse -t apfs /dev/disk1s5 ~/livemount
第四步:进行你想要的操作
在访达中前往用户根目录(~/)即可看到挂载的新的系统分区,所有操作均需要在此目录中进行操作
第五步(可选):如修改s/l/e下的驱动需要重建缓存
sudo chown -R root:wheel ~/livemount/System/Library/Extensions/
sudo chmod -R 755 ~/livemount/System/Library/Extensions/
sudo kmutil install --volume-root ~/livemount --update-all
sudo kcditto
第六步:创建新的快照
完成后重启
sudo bless --folder ~/livemount/System/Library/CoreServices --bootefi --create-snapshot
完成后重启
原帖:https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/post-issues.html#writing-to-the-macos-system-partition