Skip to content

Instantly share code, notes, and snippets.

@gubiithefish
Created April 6, 2022 21:03
Show Gist options
  • Save gubiithefish/2ef58adb2064889db78048d0a73e6629 to your computer and use it in GitHub Desktop.
Save gubiithefish/2ef58adb2064889db78048d0a73e6629 to your computer and use it in GitHub Desktop.
Create macOS 12.3.1 Monterey ISO for Virtual machines
softwareupdate --fetch-full-installer --full-installer-version 12.3.1
sudo hdiutil create -o /tmp/Monterey -size 16384m -volname Monterey -layout SPUD -fs HFS+J
sudo hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey
sudo /Applications/Installer\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction
hdiutil detach -force '/Volumes/Install macOS Monterey'
hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Desktop/macos-monterey
mv ~/Desktop/macos-monterey.cdr ~/Desktop/macos-monterey.iso
sudo rm -fv /tmp/Monterey.dmg
#source:
# 1. https://graspingtech.com/create-bootable-macos-iso/
# 2. https://graspingtech.com/vmware-fusion-macos-big-sur/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment