You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I reset Panther for Apple setup

I have a G3 iMac that I no longer use and I want to give to a brother-in-law. So as to have a nice clean system I reformatted the hd and did a new install of Panther. To update the software I had to create an admin user and log on to use "software update". Now I want to remove the admin user and basicly reset it like it just came out of the box from Apple, but with all the software up-to-date. Is this possible?

Intel iMac (Early 2006), Mac OS X (10.4.8), 2.0 Ghz, 1 MB

Posted on Jan 31, 2007 4:03 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 31, 2007 4:32 PM

mac4ever:

Here is a short method and a long method posted by Kappy:
This is the simple method and doesn't involve erasing the hard drive.

Boot from your OS X Installer. After the installer loads select Disk Utility from the Installer menu (or Utilities menu if using Tiger.) After DU loads select your OS X volume from the list on the left, click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now shutdown the computer for a couple of minutes and then restart normally.

If DU reports errors it cannot fix, then you will need Disk Warrior (3.0.3 for Tiger) and/or TechTool Pro (4.1.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

2. Next, boot to single user mode. Restart the computer and after the chime press and hold down the COMMAND-S keys until the computer starts up to a black screen with white type.

3. At the prompt, type the following commands, each command followed by the Return key:

/sbin/fsck -yf
mount -uw /
rm /private/var/db/.AppleSetupDone
shutdown -r now

The second-to-last command above will cause OS X to think that the operating system is newly installed, and when you reboot, it will send you through the Startup Wizard.

This is the long method:
Follow these instructions step by step to prepare a Mac for sale:

First, back up the data:

1) Shut down all Virtual PCs. They cannot be in their "fast saved" state. They must be shut down from inside Windows.
2) Clone to an external drive using Carbon Copy Cloner.

Next, prepare the machine for the new buyer:

3) Deauthorize the computer in iTunes! Deauthorize both iTunes and Audible accounts.
4) Remove Open Firmware passwords
5) Turn the brightness full up and volume nearly so.

Install a fresh OS:

6) Insert the OS X install CD/DVD.
7) Restart the computer while holding down the C key to boot from the CD/DVD.
8) Run Disk Utility from the file menu and erase the internal hard drive (optionally zero all data).
9) Install OS X.
10) Reboot the computer.
11) From the welcome screen, you can skip the registration step by typing command-Q.
12) When prompted, create an account (it will be an admin account).
13) From your new admin account, configure networking.
14) Then use Software Update to bring your system and all of it's applications up to date.
15) From Disk Utility, repair permissions on the new volume.

Now delete the account you just created:

16) Boot from a different volume (e.g. a firewire drive, if available)
17) Clean up the image using the following terminal commands:

prompt> rm /Volumes/<imagevol>/var/db/BootCache.playlist
prompt> rm /Volumes/<imagevol>/var/db/volinfo.database
prompt> rm -r /Volumes/<imagevol>/var/vm/swap*

18) Now you can get rid of the admin account you used to set up the machine Use the terminal:

prompt> nicl -raw /Volumes/<imagevol>/var/db/netinfo/local.nidb -delete /users/<admin>
prompt> rm -r /Volumes/<imagevol>/Users/<admin>
prompt> rm /Volumes/<imagevol>/var/db/.AppleSetupDone

19) Shut down and ship it to your buyer. When they get it, it will boot to the Welcome screen just like a factory Mac, except that it's better because it's completely up to date.

With acknowledgements to Kappy

Good luck.

cornelius

Message was edited by: cornelius
3 replies
Question marked as Top-ranking reply

Jan 31, 2007 4:32 PM in response to mac4ever

mac4ever:

Here is a short method and a long method posted by Kappy:
This is the simple method and doesn't involve erasing the hard drive.

Boot from your OS X Installer. After the installer loads select Disk Utility from the Installer menu (or Utilities menu if using Tiger.) After DU loads select your OS X volume from the list on the left, click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now shutdown the computer for a couple of minutes and then restart normally.

If DU reports errors it cannot fix, then you will need Disk Warrior (3.0.3 for Tiger) and/or TechTool Pro (4.1.2 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

2. Next, boot to single user mode. Restart the computer and after the chime press and hold down the COMMAND-S keys until the computer starts up to a black screen with white type.

3. At the prompt, type the following commands, each command followed by the Return key:

/sbin/fsck -yf
mount -uw /
rm /private/var/db/.AppleSetupDone
shutdown -r now

The second-to-last command above will cause OS X to think that the operating system is newly installed, and when you reboot, it will send you through the Startup Wizard.

This is the long method:
Follow these instructions step by step to prepare a Mac for sale:

First, back up the data:

1) Shut down all Virtual PCs. They cannot be in their "fast saved" state. They must be shut down from inside Windows.
2) Clone to an external drive using Carbon Copy Cloner.

Next, prepare the machine for the new buyer:

3) Deauthorize the computer in iTunes! Deauthorize both iTunes and Audible accounts.
4) Remove Open Firmware passwords
5) Turn the brightness full up and volume nearly so.

Install a fresh OS:

6) Insert the OS X install CD/DVD.
7) Restart the computer while holding down the C key to boot from the CD/DVD.
8) Run Disk Utility from the file menu and erase the internal hard drive (optionally zero all data).
9) Install OS X.
10) Reboot the computer.
11) From the welcome screen, you can skip the registration step by typing command-Q.
12) When prompted, create an account (it will be an admin account).
13) From your new admin account, configure networking.
14) Then use Software Update to bring your system and all of it's applications up to date.
15) From Disk Utility, repair permissions on the new volume.

Now delete the account you just created:

16) Boot from a different volume (e.g. a firewire drive, if available)
17) Clean up the image using the following terminal commands:

prompt> rm /Volumes/<imagevol>/var/db/BootCache.playlist
prompt> rm /Volumes/<imagevol>/var/db/volinfo.database
prompt> rm -r /Volumes/<imagevol>/var/vm/swap*

18) Now you can get rid of the admin account you used to set up the machine Use the terminal:

prompt> nicl -raw /Volumes/<imagevol>/var/db/netinfo/local.nidb -delete /users/<admin>
prompt> rm -r /Volumes/<imagevol>/Users/<admin>
prompt> rm /Volumes/<imagevol>/var/db/.AppleSetupDone

19) Shut down and ship it to your buyer. When they get it, it will boot to the Welcome screen just like a factory Mac, except that it's better because it's completely up to date.

With acknowledgements to Kappy

Good luck.

cornelius

Message was edited by: cornelius

How do I reset Panther for Apple setup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.