How to Make a Lion (Mac OS X 10.7) Master System Disk Image for BIC/ASR

These instructions apply to Mac OS X 10.7 (Lion) or higher. These instructions are largely based on the asr 'man' pages.

  1. Read the asr (Apple Software Restore) man page: Open terminal.app and enter "man asr". This isn't necessary, but it does a great job of explaining more of this process in detail.
  2. Install Mac OS X on the master Mac and set it up the way you want it to work. Ie, Applications, printers, automated scripts, authentication, etc.
  3. Boot up from another partition or External USB/Firewire disk with Mac OS X 10.7.1 or higher (Lion) installed.
  4. Login with an administrator account.
  5. Enable Permissions on the Disk to Image (Assumes that the disk is named "Macintosh HD", of course):
    1. Select "Macintosh HD"
    2. In the menu bar, select "File" and then "Get Info":


    3. Ensure that Ignore ownership on this volume is NOT checked so that permissions ARE enabled:
  6. Use Disk Utility to verify that the filesystem of your "golden" Mac system is healthy, create the image, and then prepare the image for restoring. To Launch Disk Utility: In the Finder, select "Utilities" from the "Go" menu to quickly open the Utilities folder, and double click the Disk Utility.app icon.
    1. Verify that the filesystem of the master Mac system disk is error free.
      1. On the left side select the disk volume that contains the system for your 'golden' Mac that you want to create an image of.
      2. Click the Verify Disk button to verify that the disk file system structure is healthy BEFORE trying to create an image of it. Otherwise, you run the risk of successfully creating a disk image that also has the same disk errors. This has happened to us in the past... it made for lots of troubleshooting at the time!
      3. Click Verify Disk until Disk Utility reports The volume 'Macintosh HD' appears to be OK:
    2. Create a new disk image of the master Mac system.
      1. Select File, New, Disk Image From Folder... :


      2. In the Select Folder To Image dialog select the master Mac disk on the left side, in this case, Macintosh HD:
      3. In the New Image from Folder dialog enter in the file name you want for the disk image, select Compressed (Change it to read-only for asr multicast use!) as the Image Format, and set Encryption to none, then click the Save button :
      4. Next you'll be prompted to enter in your admin username and password, then Disk Utility will continue through the process of creating a new disk image and copying the data to it from the Macintosh HD disk that was selected in this example:
    3. Highly Recommended: Scan the image for restore! If you skip this step it will take asr MUCH more time to restore the image. In our testing, without this step, our 115 GB system image took 4 hours, 44 minutes and 47 seconds to be restored. AFTER scanning the image for restore it only took 51 minutes and 44 seconds to restore the image. That's a huge difference in time, and time is money! And your sanity ...

      Prepare the image for restoring: To add checksums and optimize the layout of the data in the disk image for quicker restores select the disk image in the left side panel ("10.7.1-Master-Lab-Ima..."), then select Scan Image for Restore from the Images menu:



      1. The process will go through several stages (block checksum, reordering before the image is completely scanned):
  7. Move or copy the master system disk image for BIC to access:
    1. For basic BIC use, move or copy the master disk image file to the RestoreImages folder in the BIC folder to make it easy to locate when running BIC:
    2. Advanced users might want to store this master system disk image on an AFP, SMB, HTTP, or asr multicast server. Read the Blast Image Config Configurations (Workflow) Preference Settings documentation to learn more about the DEFAULT_DISK_IMAGE preference key to specify different locations for the master disk image.
    3. We also have documentation on how to Automount (AFP/SMB) Network Servers for BIC to restore system images from.
  8. We also have documentation on how to create an image of Lion's new hidden 'Recovery HD' volume.

 

Return to main BIC Documentation

Last Updated November 18, 2011