Can’t login after time machine restore?
Try this
You’ve reinstalled OS X Lion onto your computer, possibly because your computer crashed and you need a new hard drive. Crisis adverted, you had a Time Machine backup. Good work not being a bum and losing everything. Install went well but what’s this, you can’t login after restoring your backup. F#&K!
Ok, lets try this.
- Reboot the Mac and hold down cmd+s — This will boot into single user mode. Black screen, white text.
- Mount the hard drive as explained at the prompt. — Most likely: mount -uw /
- Type: passwd [your user name] — For example: passwd jeroen (jeroen is my username on the machine). If you don’t know your username, type: ls /Users
This will list the usernames on your computer. - Enter your password, and confirm it by entering it again. Notice you do not “see” what you type, this is normal.
- Type: exit
If you have Mountain Lion reboot by holding cmd+r instead of cmd+s to go into Recovery Mode and change your password using the Graphical User Interface.
Can’t login after time machine restore? was originally published on TheMacFix