Skip to content

Instantly share code, notes, and snippets.

@atwright147
Created October 1, 2018 17:11
Show Gist options
  • Save atwright147/21fef688a4d3bf6accbb12fe767d78d9 to your computer and use it in GitHub Desktop.
Save atwright147/21fef688a4d3bf6accbb12fe767d78d9 to your computer and use it in GitHub Desktop.

Revisions

  1. atwright147 created this gist Oct 1, 2018.
    8 changes: 8 additions & 0 deletions create_HighSierra_iso.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    hdiutil create -o /tmp/HighSierra.cdr -size 7000m -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