Created
November 13, 2020 08:23
-
-
Save jordigg/c1eafe02ad17593f71acf6e42d9eef6e to your computer and use it in GitHub Desktop.
MacOS 11 Big Sur App to ISO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# MacOS Big Sur isntaller to ISO conversion | |
# Version 11-2020 | |
# Creator: Jordi Garcia | |
# Github: Jordigg | |
hdiutil create -o /tmp/bigsur.cdr.dmg -size 14000m -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 | |
mv /tmp/bigsur.cdr.dmg ~/Desktop/InstallSystem.dmg | |
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/bigsur.iso | |
mv ~/Desktop/bigsur.iso.cdr ~/Desktop/bigsur.iso | |
rm ~/Desktop/InstallSystem.dmg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment