Deployment Solution 223
Mac Imaging
This computer is ready to be imaged. In Step 3: Image the Source Computer
(page 223), we use the imaging utility, hdiutil, to capture and store an image of this
computer.
Step 3: Image the Source Computer
1. Connect to your NetBoot Server and mount a NetBoot share. Typically, this share
would be NetBootSP0. Connect (command + K) using a command similar to the
following:
afp://server_ip/NetBootSP0
Replace server_ip with the IP address of your server.
2. From the terminal on the source computer, run the following command to capture
and store the disk image:
hdiutil create -srcfolder / /Volumes/NetBootSP0/SystemRO.dmg
3. Convert the existing read-only image to read-write using the following command:
hdiutil convert /Volumes/NetBootSP0/SystemRO.dmg -format UDRW -
o /Volumes/NetBootSP0/System.dmg
When this operation completes, you can delete SystemRO.dmg.
4. Add an additional 1 GB padding to the image using the following command:
hdiutil resize -size newsize /Volumes/NetBootSP0/System.dmg
Replace newsize with the current size of your image plus 1 GB.
If necessary, you can determine the current image size using a command similar to:
ls -alh /Volumes/NetBootSP0/System.dmg
You are now ready to configure the NetBoot Service.
Configuring the NetBoot Service
NetBoot is a service which runs on OS X Server to provide Mac computers with an
automation operating system. To configure the NetBoot service complete the following
procedures:
z Step 1: Configure the NetBoot Image (page 223)
z Step 2: Start the NetBoot Service (page 225)
Step 1: Configure the NetBoot Image
Complete the procedure for the version of OS X Server you are using to host the
NetBoot service:
z 10.5 (page 223)
z 10.4 or Previous (page 224)
10.5
1. On the OS X Server hosting the NetBoot service, double-click /Library/NetBoot/
NetBootSP0/System.dmg
to mount the image you captured in the previous step.