-
-
Save src256/f527da4ca4e0fcd8c24256f5ab864403 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
hdiutil create -o /tmp/monterey -size 16384m -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 eject -force /Volumes/Install\ macOS\ Monterey | |
hdiutil convert /tmp/monterey.dmg -format UDTO -o ~/Desktop/monterey.cdr | |
mv ~/Desktop/monterey.cdr ~/Desktop/monterey.iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment