Recently I was given a MacBook Pro (late 2010 I believe), and asked to see if I could reset the password for it. I assumed that it would be relatively easy so decided to go ahead and give it a go. I booted into SUM, mounted the hard drive and deleted
/var/db/.applesetupdone before restarting the computer (using
reboot, not manually so as far as I can tell no reason for anything to get corrupted).
When I restarted the computer I got the usual apple install screen (it appears to be running OS X Leopard, perhaps Snow Leopard, I can't really tell from the install screen). I follow all the steps through, till I get to the create first user page.
After submitting it the "Creating account" loading indicator appears. The computer screen goes black, and it goes straight back to the language selection option (the first screen you see).
What am I doing wrong, and what should I do to fix it?
Edit: Here are the commands I used, in order:
# /sbin/mount -uw / # rm /var/db/.applesetupdone # reboot