? ? 首先在應用商店中下載新系統的安裝包,然后在設置中不要點安裝,會自動跳出安裝的界面,不要關閉界面,打開命令行用root權限輸入命令cat /var/log/install.log | grep *.dmg,
就會顯示
sh-3.2# cat /var/log/install.log | grep *.dmg
2023-12-10 00:38:08-08 Mac osinstallersetupd[1617]: mountDiskImageWithPath: /Applications/Install macOS Sonoma.app/Contents/SharedSupport/SharedSupport.dmg
進入目錄:
sh-3.2# cd "/Applications/Install macOS Sonoma.app/Contents/SharedSupport/"
然后把權限修改為普通用戶可讀取,
sh-3.2# chmod 0777 SharedSupport.dmg
sh-3.2# chown 501:20 SharedSupport.dmg
SharedSupport.dmg就可以復制出來了,改名為macOS 14.1.2 這個就是我們的新系統。
sh-3.2# mv SharedSupport.dmg /Users/zha/Desktop/macOS-14.1.2.dmg