Skip to content

Instantly share code, notes, and snippets.

@rwasef1830
Created February 13, 2018 13:28
Show Gist options
  • Save rwasef1830/38e53ef168394e4b3a7707b635af9b0d to your computer and use it in GitHub Desktop.
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)
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