1 從appstore下載最新的 MacOS High Sierra 下載完成后先不要安裝
2 格式化U盤
格式化后 名稱設(shè)為 HighSierra
3
在控制臺執(zhí)行 命令?
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/HighSierra --applicationpath /Applications/Install\ macOS\ High\ Sierra.app —nointeraction
執(zhí)行完成后? 如遇到這樣的提示(If you wish to continue type (Y) then press return: Y)? 再輸入Y 后等待 10 到20分鐘即可安裝完畢
localhost:Install macOS High Sierra.app tiantao$ sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/HighSierra --applicationpath /Applications/Install\ macOS\ High\ Sierra.app —nointeraction
Ready to start.
To continue we need to erase the volume at /Volumes/HighSierra.
If you wish to continue type (Y) then press return:? sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/HighSierra --applicationpath /Applications/Install\ macOS\ High\ Sierra.app —nointeraction
Operation canceled.localhost:Install macOS High Sierra.app tiantao$? sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volum --applicationpath /Applications/Install\ macOS\ High\ Sierra.app —nointeraction
Ready to start.
To continue we need to erase the volume at /Volumes/HighSierra.
If you wish to continue type (Y) then press return: Y
Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
localhost:Install macOS High Sierra.app tiantao$
4 安裝完后的效果如圖
系統(tǒng)的安裝
插入U盤, ?在啟動的過程中 一直 點擊 option 鍵 即可進(jìn)入安裝系統(tǒng)界面 ?后續(xù)工作按提示 重裝系統(tǒng) 或者格式化 磁盤后 再重裝即可.
對于10.14系統(tǒng)以上的安裝
用上述命令會提示警告
WARNING: "--applicationpath" is deprecated in macOS 10.14 and greater. Please remove it from your invocation.
去掉--applicationpath 即可
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/HighSierra /Applications/Install\ macOS\ Catalina.app —nointeraction