Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fhwihf

macrumors newbie
Original poster
Mar 26, 2012
3
0
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.

Code:
$ mount -uw /
$ rm -R /Library/Preferences/
$ rm -R /Users/username/
$ rm /var/db/dslocal/nodes/Default/users/username.plist
$ rm /var/db/.AppleSetupDone
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?
 

MikeNL

macrumors newbie
Aug 20, 2009
13
1
Same thing here.

I don't know what to change so i can make an image of this configuration with 10.7 : /
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.