Skip to content

Instantly share code, notes, and snippets.

@dd5md
Forked from src256/create_macos_ventura_iso.sh
Created July 29, 2023 02:37
Show Gist options
  • Save dd5md/9e6e9a52d1f38095bdc8f45f0203e7d3 to your computer and use it in GitHub Desktop.
Save dd5md/9e6e9a52d1f38095bdc8f45f0203e7d3 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -eux
hdiutil create -o /tmp/ventura -size 16384m -volname ventura -layout SPUD -fs HFS+J
hdiutil attach /tmp/ventura.dmg -noverify -mountpoint /Volumes/ventura
sudo /Applications/Install\ macOS\ Ventura\.app//Contents/Resources/createinstallmedia --volume /Volumes/vent\
ura --nointeraction
hdiutil eject -force /Volumes/Install\ macOS\ Ventura
hdiutil convert /tmp/ventura.dmg -format UDTO -o ~/Desktop/ventura.cdr
mv ~/Desktop/ventura.cdr ~/Desktop/ventura.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment