Created
June 30, 2022 12:20
-
-
Save shazron/126632f302aa1fe88e0e3ff906ba29f6 to your computer and use it in GitHub Desktop.
Create a macOS Monterey .iso file from the .app installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# adapted from https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/ | |
hdiutil create -o /tmp/Monterey -size 13700m -volname Monterey -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey | |
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction | |
hdiutil detach /volumes/Install\ macOS\ Monterey | |
hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Desktop/Monterey.cdr | |
mv ~/Desktop/Monterey.cdr ~/Desktop/Monterey.iso | |
rm /tmp/Monterey.dmg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment