Skip to content

Instantly share code, notes, and snippets.

@src256
Last active August 30, 2022 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save src256/90936c8afbe7c9517b8791434be62e42 to your computer and use it in GitHub Desktop.
Save src256/90936c8afbe7c9517b8791434be62e42 to your computer and use it in GitHub Desktop.
macOS Venturaベータ版のISOファイルを作成
#!/bin/sh
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\ beta.app//Contents/Resources/createinstallmedia --volume /Volumes/ventura --nointeraction
hdiutil eject -force /Volumes/Install\ macOS\ Ventura\ beta
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