Beruflich Dokumente
Kultur Dokumente
Reboot the computer into single user mode by holding down COMMAND and S while
rebooting. If you’ve done it right, you’ll end up with a black screen that has white
writing on it. There’s no graphical user interface for this, it’s all typing.
Once you’ve got a command prompt, enter the following commands and to make
SURE you don’t get any errors – if you get errors, time to figure out what went
wrong and fix it before you go any further.
fsck -fy mount -uw / launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist &
dscl . -delete /Users/sysprep rm -rf /Users/sysprep rm -rf /var/db/.AppleSetupDone shutdown -h now
What does this do? Basically, it gets rid of your sysprep user account in an operating
system compliant way (no loose ends) and resets the computer to run the Welcome
process again. At the end of this, you tell the computer to shut down because this is
safer than letting it try and reboot and missing your chance to do the last step for
some reason.
10. Creating Master Image
At this point, you’ve got a computer that’s turned off and is ready to start as a new
computer with no existing users but all your configurations and software installs ready
to go.
From here, you need to create a disk image of the computer’s hard drive so you can
deploy this build to another computer. For that you’ll need an external hard drive
that’s been set up so you can boot from it (there are plenty of references for that out
there – I’ll write one myself some day).
Boot from your external hard drive.
Run Disk Utility (Applications/Utilities – although I have this in the dock on the install
on my external hard drive).
Select the internal hard drive on the computer and click the “New Image” button. Give
your disk image a name and select somewhere on your external hard drive to save
the disk image. When you’re done, hit the “Save” button and wait for the disk image
to create. This may take quite a bit of time if you’ve installed a lot of software.
When this is done, you’ve now got a disk image of your fresh-minted Snow Leopard
install. In order to make this disk image useable, you also need one final step. In Disk
Utility, go to the “Restore” tab and load your new disk image in the “Source” box.
Then go up to the “Image” menu and select “Scan Image for Restore“. Again, this
process can take a little time but once it’s done, you have a disk image that you can
use.
(Note: If you prefer to use Carbon Copy Cloner you can skip this step, I have done it
either way but found that Disk Utility gives me a faster overall restore from disk image
and, ultimately, in a commercial workshop, time is money so I’ve gone with the faster
method.)
11. Deploy your Master Image
Boot off your external hard drive (the same one you have your disk image saved on)
and run up Disk Utility. Select the internal hard drive on the computer you want to
build, select the “Restore” tab and then load your disk image in the “Source” box.
Drag and drop the internal hard drive to “Destination” and hit the “Restore” button –
away you go. Some time later you can restart the computer from the internal hard
drive and start a normal setup process including the Apple Welcome screens.