Skip to content

Instantly share code, notes, and snippets.

@HenryYang
Created December 16, 2020 16:32
Show Gist options
  • Save HenryYang/5340becaba6b03bde6dde3a8a4342fb2 to your computer and use it in GitHub Desktop.
Save HenryYang/5340becaba6b03bde6dde3a8a4342fb2 to your computer and use it in GitHub Desktop.
macOS 11.0 dmg to ISO
hdiutil create -o /tmp/bigsur.cdr -size 18500m -layout SPUD -fs HFS+J
hdiutil attach /tmp/bigsur.cdr.dmg -noverify -mountpoint /Volumes/install_build
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
hdiutil detach /Volumes/Install\ macOS\ Big\ Sur
hdiutil convert /tmp/bigsur.cdr.dmg -format UDTO -o ~/Desktop/bigsur.iso
mv ~/Desktop/bigsur.iso.cdr ~/Desktop/bigsur.iso && rm /tmp/bigsur.cdr.dmg
# https://magiclen.org/macos-catalina-iso/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment