Skip to content

Instantly share code, notes, and snippets.

@dev-chee
Created May 29, 2018 09:39
Show Gist options
  • Save dev-chee/e6bd4b36f690c420d55f570619c5c652 to your computer and use it in GitHub Desktop.
Save dev-chee/e6bd4b36f690c420d55f570619c5c652 to your computer and use it in GitHub Desktop.
Best way to create an ISO for macOS High Sierra 5.23 GB
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 detach /Volumes/Install\ macOS\ High\ Sierra
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment