Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mopppish

macrumors 6502
Original poster
Nov 27, 2005
356
1
Hi, all.
I know how to use the restore discs to reinstall OSX and the included software so that it's like new, but how can I make it shut down after the install so that the next time it's turned on it runs through the set up process (like when you turn a mac on fresh from the store for the first time)?
It always just runs straight from the install process to the set up process without any chance to shut it down.
I'm asking because I just sold my ibook to someone, and I want him to be able to put in all of his own info when he first turns it on.
Thanks!
 
I'm pretty sure there's a restart required at the end of the restoration process where you could just shut down the machine before it boots into the OS X installation. Not sure if there's a better solution than this.
 
When is asks you to enter your info for setting up an account... I think you can just shut down and it will go back to that next time it's turned on. I guess it doesn't let you issue a shutdown command, but you can force it off by holding the power button for a few seconds.
 
There's some way to get the welcome video to play on the next reboot...something about deleting an AppleSetupDone flag, but you'd have to go as far as setting up an account in order to do that.
 
When the set up is done, it creates a file called ".AppleSetupDone" in /var/db/, I believe if you remove that and restart you will be prompted to recreate the inital start up. However, you might want to test with this first and make sure that when it creates a user with the UID 502 that user is an admin.
 
As soon as the Setup Assistant starts (when it's asking you to select your country), press Cmd-Q and it'll ask whether you want to shut down. The Assistant will then re-run next time you turn on the system.

Trivia: In the .AppleSetupDone file, the setting for "do you want to receive information from Apple?" is called AppleSpam :D
 
Trivia: In the .AppleSetupDone file, the setting for "do you want to receive information from Apple?" is called AppleSpam :D

LOL! Indeed!

Code:
<key>[B]AppleSpam[/B]</key>
<string>NO</string>
<key>Location</key>
<string>H</string>
<key>Occupation</key>
<string>5</string>
<key>[B]OthersSpam[/B]</key>
<string>NO</string>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.