Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

How to create a Bootable Monterey ISO

set -e
set -u

# Create an empty
hdiutil create -o /tmp/empty -size 8400m -volname "Monterey" -layout SPUD -fs HFS+J

# Rename to .img since this isn't a compressed disk image
mv /tmp/empty.dmg /tmp/monterey.img

# Mount the empty disk image
hdiutil attach /tmp/monterey.img -noverify -nobrowse -mountpoint '/Volumes/Install macOS Monterey/'

# Create the installer image
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --nointeraction --volume '/Volumes/Install macOS Monterey/'

# Detach the installer
hdiutil detach '/Volumes/Install macOS Monterey/'

# This is actually already in the correct format
mv /tmp/monterey.img monterey.iso

Thanks https://bootableinstaller.com/macos/#macos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment