-
-
Save gerrior/6734954fdc11e12633a82bd1b994cd76 to your computer and use it in GitHub Desktop.
Create bootable ISO from HighSierra Installer
This file contains hidden or 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 | |
# | |
# Save as a text file; open terminal; enter the command line: sh highsierra_bootable.sh | |
# | |
# Used on "Install macOS High Sierra" version 10.13.3 | |
# | |
# This ISO was used to create a fresh Virtual Machine in vSphere | |
hdiutil create -o /tmp/HighSierra.cdr -size 5530m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build | |
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg | |
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra | |
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso | |
mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/macOS_High_Sierra_10.13.3.iso | |
rm ~/Desktop/InstallSystem.dmg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment