View Single Post
 
Old 02-11-2009, 09:32 AM
throttlemeister throttlemeister is offline
Jaguar
 
Join Date: Jan 2009
Location: Netherlands
Posts: 56
Quote:
Originally Posted by ozzeh View Post
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.

Apple Macbook Pro 15" 2.93GHz | Apple 24" LED Cinema Screen

iAtkos v5i 10.5.6 Vanilla

Machine: Acer 7730G
Memory: 4GB DDR2/667
Storage: 2x 250GB
Display: nVidia GeForce 9300M GS

Last edited by throttlemeister; 02-11-2009 at 09:39 AM.
Reply With Quote