Created
November 8, 2018 08:24
-
-
Save yaoxiangg/08088593d978771b5ff1fa6e75ba7783 to your computer and use it in GitHub Desktop.
Making ISO from OSX Installer.app
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
Setup OSX VM on Windows (VMWare) - 10.12 Sierra Onwards | |
Download Link: https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?mt=12 | |
1. Create a .iso image from the OSX Installer.app downloaded from iTunes | |
hdiutil create -o /tmp/HighSierra.cdr -size 5200m -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 /tmp/HighSierra.dmg | |
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra | |
hdiutil convert /tmp/HighSierra.dmg -format UDTO -o /tmp/HighSierra.iso | |
mv /tmp/HighSierra.iso.cdr /tmp/HighSierra.iso | |
2. In the .vmx file, add this line: | |
smc.version = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment