Rebuild the Macintosh operating system in the event of a disaster.
Before You Begin
Ensure that the destination client is same as source client while performing a disaster recovery.
Make sure to Install the Macintosh Operating System on the system that you want to restore. Make sure to install the Operating System exactly as it existed prior to a hardware or software corruption problem.
The client computer must have an install partition with the Macintosh File System iDataAgent installed on it. Make sure to enable the Networking option. The TCP/IP, hostname, and domain name settings of the default install must match those of the system that you are restoring.
Procedure
Boot the system from the recovery partition if available. Alternatively, you can boot the system from a bootable Mac OS X v10.7/10.8 DVD or USB drive.
On the Mac OS X Utilities dialog, select Disk Utility and then click Continue.
Partition a drive using the Disk Utility. The default partition will be named Macintosh HD by default.
Select a disk.
In the Partition tab, click + under the Partition Layout pane and select the new partition.
In the Name box under Partition Information pane, type the partition name.
In the Format box, select Mac OS Extended (Journaled) if not already selected.
In the Size box, enter a number that is at least 2 GB greater than the minimum space requirements for the version of Mac OS X that you are trying to install
Press Return.
Repeat these steps for each remaining disk/partition.
Click Apply.
Click Partition on the confirmation message. This might take some time to complete.
After the partition is created, quit the Disk Utility.
On the Mac OS X Utilities dialog, select Reinstall Mac OS X and then click Continue.
In the Select Destination screen, select the mini_root partition created in step 3 above and then click Install.
On the Install Mac OS X dialog, click Continue.
Click Agree.
Select the mini_root partition created in step 3 above and then click Install.
The install program starts copying the software. This step may take a while to complete. During the OS software installation, the system will restart automatically and the installation will continue.
After the installation completes successfully, click Restart.
After the system has restarted, enter registration information, then assign the computer name, hostname and IP address using the same settings that were used in the original installation.
Update the hosts file and make sure SSH is enabled and working.
If you are prompted to update your system software, select Quit Software Update.
Open a Terminal window, then enter sudo -i
When prompted, provide a password for root.
Modify the restore disk mount.
Type the following command to get the disk device name for /Volumes/Macintosh HD (/dev/diskxxxx).
mac108vma:~ root# mount
/dev/disk0s3 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
mapauto_home on /home (autofs, automounted, nobrowse)
.host:/VMware Shared Folders on /Volumes/VMware Shared Folders (vmhgfs) /dev/disk1s0s2 on /Volumes/VMware Tools (hfs, local, nodev, nosuid, read-only, noowners) /dev/disk0s2 on /Volumes/Macintosh HD (hfs, local, nodev, nosuid, journaled, noowners)
mac108vma:~ root#Note: The default mount options for the /Volumes/Macintosh HD disk (the destination restore disk) will cause errors on the restore if not modified, and also cause the bless command to fail.
Type the following command to unmount /Volumes/Macintosh HD:
mac108vma:~ root# diskutil umount "/Volumes/Macintosh HD"
Volume Macintosh HD on disk0s2 unmounted
mac108vma:~ root#Type the following command to create a new directory under /Volumes. This will be used only for the restore.
mkdir /Volumes/HD
Type the following command to remount the partition to the directory created and grant all the permissions similar to the mini_root partition:
mac108vma:~ root# mount -t hfs /dev/disk0s2 /Volumes/HD
mac108vma:~ root#
mac108vma:~ root# mount
/dev/disk0s3 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
mapauto_home on /home (autofs, automounted, nobrowse)
.host:/VMware Shared Folders on /Volumes/VMware Shared Folders (vmhgfs)
/dev/disk1s0s2 on /Volumes/VMware Tools (hfs, local, nodev, nosuid, read-only, noowners) /dev/disk0s2 on /Volumes/HD (hfs, local, journaled)
mac108vma:~ root#
Install the Macintosh File System Agent to the same CommServe using the same client name that was used during the previous installation.
We recommend that you adjust your Energy Saver settings before restoring the system so that the computer, display and hard disk will not be put to sleep during the restore.