Skip to content

Instantly share code, notes, and snippets.

@double16
Created May 24, 2019 18:17
Show Gist options
  • Save double16/7e0afd578ea73fd42015b164c640e1dd to your computer and use it in GitHub Desktop.
Save double16/7e0afd578ea73fd42015b164c640e1dd to your computer and use it in GitHub Desktop.
make-macos-iso.sh
hdiutil create -o /tmp/HighSierra.cdr -size 5130m -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 convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment