Does not boot (endless spinning) A friend of mine has forgot her password to a newly bought Macbook Pro, Lion.


I've reset the password like described here by booting to single-user mode and deleting /var/db/.AppleSetupDone
The Mac booted fine and started asking for all the registration details.
After everything was entered, it goes back to the beginning, asking
to fill the address etc. AGAIN AND AGAIN, endlessly.
After entering it several times I turned it off (by holding down the power key)
and now it does not boot at all. Grey screen and endless spinning
wheel.


It still boots to single-user mode, and I tried the fsck command, but it says "the volume macintosh hd could not be repaired".

I also tried resetting the NVRAM / PRAM - does not help.

PS. I'm mostly a PC guy, and I know very little about Macs, so please be very precise on what I should do :)
Newly purchased Macs come with 90 days of complimentary AppleCare phone and web support (as well as walk in service at all Apple retail stores). 

You will want to follow the internet recovery steps to erase the drive and reinstall the operating system once you have ascertained that no data (pictures, documents, etc...) exist only on that Mac.

Here is the script you will be following in a nut shell:


power off the mac
boot with Command and R held down
select Disk Utility to repair or erase and re-format the drive (GUID partition scheme and Mac OS Extended (journaled) format for the volume.
download and install Lion from the internet recovery
attempt again to set up the mac


Do consider that a hardware failure could cause things to not work as intended - a call to Apple is the fastest way to get that sorted for someone that isn't used to isolating issues on hardware.