View Single Post
 
Old 02-11-2009, 11:23 PM
hongbiaoke hongbiaoke is offline
Cheetah
 
Join Date: Feb 2009
Posts: 3
Quote:
Originally Posted by throttlemeister View Post
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.

I did all of that, and I am still getting the loop...

When I type in "fsck -fy" I got this:
Code:
/dev/rdisk1s3 (NO WRITE)
Root file system
Checking Non-journaled HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked file.
Checking Catalog hierarchy.
Checking Extended Atrributes file.
Checking volume bitmap.
Checking volume information.
The volume iDeneb v1.3 10.5.5 appears to be OK.
Then I type in "mount -uw /"
Code:
disk1s3: device is write locked.
0 [Level 3] [ReadUID 0] [Facility com.apple.system....
Then I typed "passwd root" it says "passwd: command not found"
So I typed "touch /var/db/ .AppleSetupDone" and it gives me:
Code:
disk1s3: device is write locked.
0 [Level 3] [ReadUID 0] [Facility com.apple.system....
again...I reboot and still the same thing
Reply With Quote