Create an ISO of macOS High Sierra Installer app

I ran into trouble trying to get this to work using the instructions on the internet. This is what worked for me.
They key here for me was getting the right size “-size 5600m” and the right partition layout “-layout GPTSPUD” otherwise the createinstallmedia command would fail with an erase error (due to partition layout) and an app copy error (due to image size).

hdiutil create -o /tmp/HighSierra.cdr -size 5600m -layout GPTSPUD -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

hdiutil detach /Volumes/install_build

hdiutil convert /tmp/HighSierra.cdr.dmg -format UDTO -o /tmp/HighSierra.iso

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website at WordPress.com
Get started
%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close