Last active
January 8, 2021 16:43
-
-
Save patrickgill/9df52af90ea6ec6cdde6195ea9036df5 to your computer and use it in GitHub Desktop.
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
Make a MacOS .iso from an installer | |
from https://www.geekrar.com/create-macos-catalina-iso-file/ | |
Catalina example | |
Create a DMG Disk Image | |
hdiutil create -o /tmp/Catalina -size 8500m -volname Catalina -layout SPUD -fs HFS+J | |
Mount it to your macOS | |
hdiutil attach /tmp/Catalina.dmg -noverify -mountpoint /Volumes/Catalina | |
Create macOS Catalina Installer | |
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Catalina --nointeraction | |
Unmount Catalina Disk | |
hdiutil detach /volumes/Install\ macOS\ Catalina | |
Convert the DMG file to an ISO file | |
hdiutil convert /tmp/Catalina.dmg -format UDTO -o ~/Desktop/Catalina.cdr | |
Rename to iso | |
mv ~/Desktop/Catalina.cdr ~/Desktop/Catalina.iso | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment