Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Using Apple Software Restore

CONTENTS

Installing ASR and Disk Copy

Preparing a Source Volume

Creating a Restore CD

Additional Notes & Comments

Apple Software Restore (ASR) is a utility application that will exactly restore a hard drive using a customized disk image that you create with Disk Copy. Using ASR is a very quick way to bring your Macintosh Power PC testing hardware back to a clean state.

Please note that ASR allows itself to be configured to very quickly and very easily erase and restore a given hard drive. Take care that during the development of your image content or configuration setup you do not accidentally erase and overwrite data.

This Note is directed at quality assurance engineers that maintain testing hardware.


Installing ASR and Disk Copy

You can not run Disk Copy from the same volume that you would like to create a disk image of. If you have a bootable external drive, this is where you will want to install the necessary files. Otherwise, you will need to partition the hard drive into 2 volumes. You can do this with Drive Setup. One volume will be used for Disk Copy, ASR and the Mac OS. The other volume will be used to prepare as the source volume. To do this, Drive Setup will need to reinitialize the hard drive.

The tools required to prepare volumes and images for use with ASR and Disk Copy are AppleScript based. You must have AppleScript installed on the volume you are using to create disk images.

The Apple Software Restore distribution can be found within the Apple Installer SDK which can be downloaded from here: Apple Installer SDK 1.2.4

Disk Copy can be downloaded from here: Disk Copy 6.3.3

You must create a folder named "Scripts" and place it into the same folder as the Disk Copy application.

The following files from the ASR distribution need to placed into the "Scripts" folder.
  • ImageScan (an AppleScript scripting addition)
  • Play Sound (an AppleScript scripting addition)
  • Scan Image for ASR (a complied AppleScript)

The ASR distribution also includes a "Fix local Aliases" AppleScript that checks and resolves aliases to the local volume they reside on.

You must copy the following scripting extensions into the Scripting Additions folder inside the Extensions folder of your System Folder.
  • Animate Cursor Commands
  • Choose FileSpec
  • Resolve
  • Status Dialog Commands
  • GetAliasPath

Important: You will need to restart after installing the Scripting Additions .


Back to top

Preparing a Source Volume

  1. On the source volume, install all needed software and set up any preferences, window positions, etc. In short, make things look exactly as you want them to appear. Don't forget to empty the trash.
  2. Start up the computer from the volume that has Disk Copy installed onto it. This can not be the source volume.
  3. Run Disk First Aid or another similar utility on the source volume to check and repair any directory damage.
  4. Run the "Fix Local Aliases" AppleScript.
  5. If you need the disk image of the source volume to be as small as possible, run a drive optimization utility set to place all the free space at one end of the drive and to erase free space.
  6. Drop the volume icon onto Disk Copy to create a disk image. Select either read-only or read-only compressed format. Both formats will truncate any free space, resulting in a disk image the size of the data instead of the whole volume. Read-only compressed will additionally reduce the size of the disk image, depending on how much the data can be compressed. It is recommended that you create a custom size for the disk image. If you will be creating a restore CD, keep in mind that the disk image must fit onto a 650 MB volume with a Mac OS System Folder. We recommend that the disk image be no larger than 550 MB.
  7. It will take Disk Copy up to an hour to create the disk image. Be patient.
  8. Select "Scan Image for ASR" from Disk Copy's Scripts menu. You will be asked to select a disk image. Once selected, the script will run for a number of minutes and you will not see any progress dialog. The script will play a sound when it has finished.
  9. Your disk image is now ready for use with ASR.

Back to top

Creating a Restore CD

You can not run Apple Software Restore from the same volume that you would like to restore. It can be very useful to create a bootable CD to run ASR.

To create ASR restore CDs, you will need the following.
  • Hard drive with an empty 650 MB volume
  • CD Burner
  • CD Burner software capable of creating bootable CDs
The 650 MB volume needs to have the following files and folders.
  • Apple Software Restore application
  • Standard ASR Prefs file
  • A bootable Mac OS System Folder that works for the machine to be restored.
  • Create a folder named "Configurations" and place a copy of the disk image you created inside this folder.

To burn the restore CD, please see the instructions that came with your CD burning software. Keep in mind that the CD must be bootable.


Back to top

Additional Notes & Comments

  • For more information on Apple Software Restore, please see
    Apple Software Restore: How to Perform a Single Disc Restoration
  • For more information on Disk Copy, please see
    Disk Copy 6.3.3: Quick Reference
  • If you place multiple ASR ready Disk Images in the "Configurations" folder, ASR will allow you to pick which one you want to use to restore a machine.
  • You can run ASR over a network using AppleShare. Just boot the machine you want to restore from a volume other than the one you want to restore. Make sure that the system you boot from has AppleShare and the Chooser installed onto it. Connect to a machine that has File Sharing turned on and also has ASR installed.
  • A volume is either a full disk, or a section of a disk, partitioned into separate parts. If you partition a single drive then each partition is considered a volume.
  • A bootable volume is a volume that has the Mac OS installed onto it. You can use the Startup Disk Control Panel to pick a volume to boot from.

Back to top


To contact us, please use the Contact Us page.
Updated: 7-April-2003



Choose your language: