Error while restoring factory settings

Closed
jdormonique Posts 1 Registration date Monday October 6, 2014 Status Member Last seen October 6, 2014 - Oct 6, 2014 at 04:34 AM
xpcman Posts 19530 Registration date Wednesday October 8, 2008 Status Contributor Last seen June 15, 2019 - Oct 6, 2014 at 03:06 PM
i just bought a used macpro book. I dont have the admin. password or os disk for startup. everytime i enter mount -uw / it works but when i get to enter rm /var/db/.AppleSetupDone or i tried launchctl load /System/Library/LaunchDaemons/com.AppleSetupDone. i start recieving error messages. Can someone please help
Related:

1 response

xpcman Posts 19530 Registration date Wednesday October 8, 2008 Status Contributor Last seen June 15, 2019 1,825
Oct 6, 2014 at 03:06 PM
You can try these steps:

1. Boot to Safe Mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.


2. At the prompt, type the following commands pressing return after each command line:

/sbin/fsck -yf


If you do not receive a "Filesystem OK" message then repeat this command until you do. If after seven tries you still do not receive a "Filesystem OK" message, then the system is corrupted and needs to be reinstalled.


mount -uw /

cd /private/var/db/netinfo

mv local.nidb local.old

rm ../.AppleSetupDone

shutdown -r now
0