Quote:
Originally Posted by ozzeh
and I have no idea why you need to use passwd.
|
Because OSX does not have a user and root does not have a password set. Without password, OSX will not allow you to log in.
You do not need to do a diskutil repairpermissions. It does not work, as you already found out.
Not running fsck is stupid and shows lack of understanding of UNIX. In single user mode, the filesystem is readonly for a reason. Before remounting that filesystem for writing, you should ALWAYS make sure the filesystem is clean and not corrupted. Failing to do so will mess up your system sooner or later. It is not a question of IF, rather WHEN if you choose to ignore that rule.
Just:
fsck -fy
mount -uw /
passwd root
touch /var/db/.AppleSetupDone
reboot
After that, you can log in to OSX with username root and the password you have entered with the passwd command.
Once logged in, you can add a regular user and proceed to use OSX as normal. If you want, you can use diskutil to repairpermissions after you have logged on to OSX normally.
Why are you trying to do this anyways? The instructions you have listed are correct, and nowhere does it say to run diskutil. If you get instructions, you should follow them and not make up your own and wonder what went wrong.