Skip to content

Instantly share code, notes, and snippets.

@yaoxiangg
Created November 8, 2018 08:24
Show Gist options
  • Save yaoxiangg/08088593d978771b5ff1fa6e75ba7783 to your computer and use it in GitHub Desktop.
Save yaoxiangg/08088593d978771b5ff1fa6e75ba7783 to your computer and use it in GitHub Desktop.
Making ISO from OSX Installer.app
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