
This will change the name of the volume from Untitled to OS X Base System,Ĭaffeinate asr restore -source "/Applications/Install macOS High Sierra.app/Contents/SharedSupport/BaseSystem.dmg" -target /Volumes/Untitled -noprompt -noverify -erase Now create a bootable image from the mini-system that is embedded in the installer. We are done with putting files into the installer image.ĭiskutil rename "OS X Base System" "Install macOS High Sierra" SetFile -a C "/Volumes/OS X Base System/" cp "/Applications/Install macOS High Sierra.app/Contents/Resources/InstallAssistant.icns" "/Volumes/OS X Base System/.VolumeIcon.icns" sudo rm -rf "/Volumes/OS X Base System/Install macOS High Sierra.app"Ĭaffeinate sudo cp -a "/Applications/Install macOS High Sierra.app" "/Volumes/OS X Base System/" To reflect the setting in the source image.Ĭopying must be done as the superuser since it contains locked files that the normal user does not have access to. Shrink the image to the minimum size possible, and convert it into an hdiutil detach "/Volumes/Install macOS High Sierra" Unmount theįilesystem within so that we can start to work on the image file itself.


Mv /tmp/HighSierra.cdr /tmp/HighSierra.iso hdiutil resize -size min /tmp/HighSierra.sparseimageĬaffeinate hdiutil convert /tmp/HighSierra.sparseimage -format UDTO -o /tmp/HighSierra ISO format file that can be written to a physical disk. Now the installation CD is ready, and can be burnt to a physical CD. There is a a caveat when using this CD: You must boot from the CD first, then run through the installer. When the installer reboots, you must start from the CD again, but this time, don't run the installer but rather a start a Terminal from the Utilities menu at the top of the screen.

Here we must supply the installation package that this version of the installer thinks is already copied to disk.
