Home > DeployStudio, Mac administration, Mac OS X Server > Installing Mac OS X 10.7.x Server on an erased hard drive using DeployStudio and InstallLion.pkg

Installing Mac OS X 10.7.x Server on an erased hard drive using DeployStudio and InstallLion.pkg

As previously described, you can use DeployStudio and InstallLion.pkg to clean install Mac OS X 10.7.x on a Mac. For those who need the same capabilities to install Mac OS X Server 10.7.x, you can use the same methodology to build a workflow that installs Mac OS X Server, assuming that you have access to a Mac Mini Server.

If you do have access to a Mini Server, you can download an InstallESD disk image using Apple Internet Recovery using the procedure described here at AFP548.com. The downloaded InstallESD.dmg will include all of the needed packages to install Mac OS X Server. Once you have that all-important disk image, see below the jump for the procedure.

Prerequisites:

The latest available InstallESD.dmg for a Mac Mini Server.

Mac running 10.6.8 and higher or 10.7.x (to build the InstallLion.pkg installer on.)

DeployStudio rc132 or higher running on another Mac (other Mac does not have to be running 10.7.x)

DeployStudio rc132 boot set running Mac OS X 10.6.8 and higher or 10.7.x (can be NetBoot, or using a Firewire/USB drive.) Boot set needs to be created with Python support enabled.

Screen Shot 2012-06-02 at 8.09.34 PM

Creating the 10.7 Server automated installer package with InstallLion.pkg

1. Download the latest version of InstallLion.pkg 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 cp /path/to/InstallESD.dmg /path/to/InstallLion.pkg/Contents/Resources/.

3. Run the getIncompatibleAppListPkg tool (see the ===Customizing the install=== section of the InstallLion README file for details.)

4. Copy your newly-modified InstallLion.pkg installer to your DeployStudio server.

Putting it into a DeployStudio workflow

1. Set up a new package in DeployStudio for InstallLion.pkg (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 Server 10.7.3.

2. Set up a new DeployStudio workflow with one package, configured to install Mac OS X Server 10.7.3. 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.

Screen shot 2012-06-04 at 1.25.46 PM

Running the automated installation

1. Boot the Mac to DeployStudio.

2. Log in and select the Mac OS X Server 10.7.3 Install workflow.

Screen Shot 2012-06-04 at 1.37.36 PM

3. Select the drive you want to install Mac OS X 10.7.x onto as the target volume.

Screen Shot 2012-06-04 at 1.38.03 PM

4. Wait for DeployStudio to finish deploying the package to the Mac and hit Quit when prompted. Your Mac should reboot at this point.

Screen Shot 2012-06-04 at 2.09.53 PM

5. If all goes well, your Mac should install a new copy of Mac OS X Server 10.7.3 and set up a Recovery HD partition on the designated drive without needing any further intervention on your part.

Screen Shot 2012-06-04 at 2.16.42 PM

6. Once Mac OS X Server has been installed, configure it as needed.

Screen Shot 2012-06-04 at 2.24.03 PM

  1. No comments yet.
  1. No trackbacks yet.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: