I have a problem with my MacBook Pro, which runs Mac OS X Lion.
I have reseted it back to the Setup Assistant.
After I executed the following commands, I need to select the region when I boot; this works fine, but when I choose the keyboard, the whole Mac gets stuck, and I see the loading icon on the screen. Even if I wait one hour, nothing happens.
How can I solve this? Actually, I have no Mac OS X disc to reinstall it.
can I create a user via the command line, or skip the setup assistant?
I have reseted it back to the Setup Assistant.
After I executed the following commands, I need to select the region when I boot; this works fine, but when I choose the keyboard, the whole Mac gets stuck, and I see the loading icon on the screen. Even if I wait one hour, nothing happens.
Code:
$ mount -uw /
$ rm -R /Library/Preferences/
$ rm -R /Users/username/
$ rm /var/db/dslocal/nodes/Default/users/username.plist
$ rm /var/db/.AppleSetupDone
can I create a user via the command line, or skip the setup assistant?