Installing Mac OS X 10.8.x on an erased hard drive using DeployStudio and createOSXinstallPkg
As a follow-up to Greg Neagle’s unveiling of createOSXinstallPkg, a installer package-based tool for deploying Mac OS X 10.7.x and 10.8.x, I wanted to do a sequel to my earlier post on installing OS X using DeployStudio. Using packages created by createOSXinstallPkg, you can use DeployStudio to do an automatic clean install of Mac OS X 10.7.x or 10.8.x and correctly create the Recovery HD partition. See below the jump for the procedure.
The latest Install Mac OS X Lion and/or Install OS X Mountain Lion from the Mac App Store.
Mac running 10.6.8 or higher (to build the createOSXinstallPkg installer on.)
DeployStudio rc133 or higher running on another Mac
DeployStudio rc133 boot set running Mac OS X 10.6.8 and higher (can be NetBoot, or using a Firewire/USB drive.) The boot set needs to be created with Python selected as a tool to include in the bootable system.
Creating the automated installer package with createOSXinstallPkg
1. Download the latest version of createOSXinstallPkg to your Mac.
2. Run the following command to create a basic uncustomized installation package (see the documentation on how to create a customized installer):
sudo /path/to/createOSXinstallPkg --source /Applications/Install\ Mac\ OS\ X\ Lion.app
sudo /path/to/createOSXinstallPkg --source /Applications/Install\ OS\ X\ Mountain\ Lion.app
3. Copy your newly-created createOSXinstallPkg installer to your DeployStudio server.
Putting it into a DeployStudio workflow
1. Set up a new package in DeployStudio for your createOSXinstallPkg installer (if you’re new to DeployStudio, how to do this is covered on page 66 of the DeployStudio Guide.) In the case of my example, I’m calling it Install Mac OS X 10.8.
2. Set up a new DeployStudio workflow with one package, configured to install Install Mac OS X 10.8. I did not check the box to set it as a Postponed installation, so that the DeployStudio boot set would do the install rather than doing it on first boot. In the case of my example, I’m calling it Mac OS X 10.8 Install.
Running the automated installation
1. Boot the Mac you want to upgrade to DeployStudio.
2. Log in and select the Mac OS X 10.8 Install workflow.
3. Select the drive you want to install Mac OS X 10.8.x onto as the target volume.
4. Wait for DeployStudio to finish installing the package on the Mac and hit Quit when prompted. Your Mac should reboot at this point.
5. Stand up, walk away, go get some coffee. If all goes well, your Mac should install a new copy of 10.8 and set up a Recovery HD partition on the designated drive without needing any further intervention on your part.