Created
February 13, 2018 13:28
-
-
Save rwasef1830/38e53ef168394e4b3a7707b635af9b0d to your computer and use it in GitHub Desktop.
macOS 10.13.3 ISO creation script (run from mac as sudo after downloading High Sierra from Apple Store)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hdiutil create -o /tmp/HighSierra.cdr -size 5530m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build | |
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg | |
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra | |
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso | |
mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso | |
rm ~/Desktop/InstallSystem.dmg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: https://gist.github.com/agentsim/00cc38c693e7d0e1b36a2080870d955b#gistcomment-2304505