2120 shaares
901 private links
901 private links
How to Convert a MacOS Installer to ISO
TL;DR
hdiutil create -o /tmp/[X] -size [Y]m -volname [X] -layout SPUD -fs HFS+J
hdiutil attach /tmp/[X].dmg -noverify -mountpoint /Volumes/[X]
sudo /Applications/Install\ macOS\ [X].app/Contents/Resources/createinstallmedia --volume /Volumes/[X] --nointeraction
hdiutil detach /Volumes/[X]
hdiutil convert /tmp/[X].dmg -format UDTO -o ~/Desktop/[X].cdr
mv ~/Desktop/[X].cdr ~/Desktop/[X].iso