Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Hardware > Notebooks > MacBook

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 28, 2012, 01:04 PM   #1
Crohuir
macrumors newbie
 
Join Date: Mar 2012
Factory reset without disk for 2008 MacBook

My 2008 Leopard MacBook has become very slow after 4 years of college and until I can afford a new computer I want to clear all the crap off it and start afresh. However I seem to have misplaced the discs so I'm looking at what the best way is to get it back to functioning levels. I've seen a few people talking about creating a new account and making it admin and deleting the old account but I'm not sure how much that will do. I haven't had to install a system in 4 years so I really have no idea what I'm doing so I don't want to delete the OS and then not be able to do anything until I find the original disc, which could be anywhere!

Thanks in advance,
Conor
Crohuir is offline   0 Reply With Quote
Old Jul 28, 2012, 01:09 PM   #2
robvas
macrumors 68000
 
Join Date: Mar 2009
Location: USA
Try this:

Quote:
1. Press Command-S during startup to get into single user mode
2. Check the filesystem:
# /sbin/fsck -fy
3. Mount the root partition as writable:
# /sbin/mount -uw /
4. Remove the hidden .AppleSetupDone file:
# rm /var/db/.AppleSetupDone
5. a) For Mac OS X 10.5 ‘Leopard’ and newer, do:
# launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
Repeat for every user previously defined on the machine (replace {username} with the real user name):
# dscl . -delete /Users/{username}
# dscl . -delete /Groups/admin GroupMembership {username}
5. b) For older versions of Mac OS X, do:
# rm -rf /var/db/netinfo/local.nidb
6. Remove the home directories of users. For every user do (replace {username} with the real user name):
# rm -rf /Users/{username}
7. If applicable, remove already created files in root’s home directory, e.g.
# rm /root/.bash_history
8. Shutdown (or reboot to verify the procedure worked):
# shutdown -h now
-or-
# reboot
robvas is offline   0 Reply With Quote
Old Jul 28, 2012, 01:11 PM   #3
simsaladimbamba
macrumors Core
 
simsaladimbamba's Avatar
 
Join Date: Nov 2010
Location: located
You could either contact Apple and ask for replacement Restore DVDs for your specific Mac (15 to 30 USD), buy the 29 USD Mac OS X Snow Leopard DVD via the Apple Online Store or Amazon, or if you already have 10.6.6 or higher, buy Lion or Mountain Lion and make a bootable installer via the help of a USB flash memory drive.
__________________
living on the moderately profane edge
simsaladimbamba is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Notebooks > MacBook

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:30 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC