Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Darwin/bsd window -Need to repair permissions- help

I mistakenly revoked user priveleges on the hard drive through the "getinfo" window and i now can only boot into the black Darwin/bsd page. Can someone help me?

Mac OS X (10.4.11), dual boot titanium 0s9/osx

Posted on Jan 25, 2010 2:11 PM

Reply
31 replies

Jan 25, 2010 3:30 PM in response to Steve-osX

Hi Steve, and a warm welcome to the forum! 🙂

"Try Disk Utility

1. Insert the Mac OS X Tiger Install disc that came with your computer, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair. Disk Utility checks and repairs the disk."

http://docs.info.apple.com/article.html?artnum=106214

click on Repair Permissions.

Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions again, reboot when it completes.

Jan 25, 2010 4:32 PM in response to BDAqua

Thank you for the welcome and your reply!

I actually bought this computer from a certified reseller recently and it came installed with os9 and os 10.4.1 but i do not have the original install discs. Am i abe to use an older osx version cd to achieve the same outcome?

Is there a way to do it using single user mode?

Thank you in advance!

Jan 26, 2010 5:54 AM in response to BDAqua

Thanks for helping!

Before i follow your link and execute the commands i need to tell you that while you were researching i had followed some of your own advice from a post i found listed below.

http://discussions.apple.com/thread.jspa?threadID=320663

After trying the commands from the thread i pasted above, the machine tries to boot, it flashes the mac os x loading window for a second and then hangs on the blue screen and the mouse cursor is present but fades away. It then flashes the spinning progress circle in the lower middle of the screen (it actually fades in and out every 20 seconds).

The machine does not automatically boot into the darwin/bsd page anymore.
I have to hard restart into single user mode and this is what i see:


standard timeslicing quantum is 10000 us
vm pagebootstrap: 253852 free pages
mig table_maxdispl = 70
67 prelinked modules
copyright (c) 1982, 1989, 1991, 1993
The regents of the University of California. All Rights Reserved.

using 2621 buffer headers and 2621 cluster IO buffer headers
FireWire (OHCI) Lucent ID 5811 built-in now active, GUID 000393ff fe6fb8e8; max speed s400.
enableClockSpreading returned with 0
Security auditing service present
BSM auditing present
disabled
rooting via boot-uuid from /chosen: 51FDCC55-255F-303E-AC39-2FED3ED15A3B
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Got boot device = IOService:/MacRISC2PE/pci@f2000000/AppleMacRiscPCI/mac-io@17/AppleKeyLargo/ata- 4@1f000/KeyLargoATA/ATADeviceNu
b@0/IOATABlockStorageDriver/IOATABlockStorageDevice/IOBlockStorageDriver/ST34001 6A Media/IOApplePartitionScheme/Apple HFS_Untitled1@10
BSD root: disk1s10, major 14, minor 19
jnl: replay_journal: from: 1842688 to: 7126016 (joffset 0x433000)
Jan 26 08:26:38 launched ioctl(SIOCAIFADOR ipv6): File Exists
Singleuser boot -- fsck not done
Root device is mounted read-only

If you want to make modifications to files:
/sbin/fsck -fy
/sbin/mount -uw /

If you wish to boot the system, but stay in single user mode:
sh /etc/rc
localhost:/root#

---------------------
I will wait to hear back from you before i proceed any further just in case i have done further damage from running those commands in the pasted thread.


Thank you again in advance BDAqua!

Jan 26, 2010 6:35 AM in response to Steve-osX

My powerbook g4 laptop which was connected wirelessly to my network has the same issue....It had nothing to do with the computer we've been speaking about which is the titanium 800mhx g4 tower.
I don't understand? now i have two computers down...

i should note that i replaced the actual name with x's below.

My laptop now reads:

Darwin/BSD (XXXXX.local) (console)

login:

Jan 26, 2010 6:52 AM in response to Steve-osX

i had followed some of your own advice from a post i found listed below

I don't see any conntributions from BDaqua in the link you posted.

Which set of commands did you execute? There are many posted there. Most of those are for dealing with problems of a corrupted user list (nidb), or lost administrator privileges, which isn't the problem you are having. From my reading of this topic it looks like you set permissions on the computer effectively making it so the computer cannot read itself. Try the instructions in the link by Niel.

Jan 26, 2010 7:56 AM in response to Limnos

My apologies, seems i pasted the wrong link and i can't find it...I was looking through so many pages looking for answers...sorry BDS and thank you for the help.>>> so here's a summary of what started it all:

When this all happened i was setting up permissions for networked disks(and identities)between 2 computers. That is why my g4 Tower & laptop went down.

Current status:
(First Computer)g4 Tower w/ osx10.4.1= Ran the instructions from Neil, Once i hit exit, machine started with the mac Welcome Movie and is currently asking me to continue. What Next?

(Second Computer)Laptop osx10.3.9=

I hadn't restarted it since the first problem with the tower-when i did -i got the Darwin bsd window. After using the first half of the code (from Neil)up until the exit statement in (A1), the machine booted, i unlocked the disk in get info and reset group to "wheel" read and write and gave all permissions read and write so now my laptop seems fine.

Jan 26, 2010 8:05 AM in response to Steve-osX

Found it:

these are the commands i had originally input and it was my mistake..

this is the link and these were the commands i ran. Seems i made a simple problem more complicated.

Start up in Single User Mode (see Mac OS X: How to Start up in Single-User or Verbose Mode for details) and type carefully:

/sbin/fsck -y
Repeat the above until it says your disk is OK. Then:

/sbin/mount -uw /
cd /var/db/netinfo
mv local.nidb/ local.nidb.bad
ls -ln /Users

Jan 26, 2010 8:44 AM in response to Steve-osX

(First Computer)g4 Tower w/ osx10.4.1= Ran the instructions from Neil, Once i hit exit, machine started with the mac Welcome Movie and is currently asking me to continue. What Next?

This is the one on which you initially ran the commands in the correctly linked post below? The one removing the nidb? When you did that you removed the information your computer uses to establish accounts and the computer thinks you have just bought a new computer without anything set up.
I'm getting outside my experience on this but [Mac OS X, Mac OS X Server: How to Replace the NetInfo Database|http://docs.info.apple.com/article.html?artnum=107210] discusses setting up a nidb and restoring one from backup. Alternatively since it is quite possible that the original nidb wasn't bad you might be able to undo what you did with usig the wrong set of commands and move the "bad" file back into its correct location with the mv command

so now my laptop seems fine.

Great!

Jan 26, 2010 9:14 AM in response to Limnos

Yes the Tower was the machine i originally started the thread for and ran those commands on. I am going to try to restore the nidb from the info you gave in the link.

I am currently sitting on the "welcome" page as if it's a brand new mac just as you stated.

Should i hard restart into single user mode and follow the instructions in the link you posted or should i continue with the setup and then restart. i am assuming if i proceed with the setup i will have lost the possible backup of the nidb that i will need to restore(if all is successful)

Jan 26, 2010 9:57 AM in response to Limnos

started in single user mode
ran /sbin/fsck -y twice with this message>fsck_hfs: Volume is journaled. No checking performed.

used the /sbin/fsck -f command and forced it to check.
returned with..The volume System HD appears to be OK.

Ran /sbin/mount -uw/ as stated in the Michael Conniff link.
returned with:
HFS: Removed 2 orphaned unlinked files

(these are probably the 2 identities i had setup on the computer)
should i continue or is there something else that needs to be done due to the unlinked files?

I am very new to this so thank you for your help and patience with me.I do not want to do any further damage so that's why i am "asking" first and "doing" second from now on.

Jan 26, 2010 10:42 AM in response to Steve-osX

Caveat: Michael Conniff is really the person to contribute to this but I see he hasn't posted since last year and mentioned somewhere about being gone for a "few weeks". I am providing things to you as I learn about them from reading but haven't been in your situation.

In many places the command for fsck is is listed as using the f and y flags, not just the y flag. I tried reading about this using man pages but I didn't understand the meaning of the f flag. fsck is basically making sure your files are okay and since you have already done this with DU and DW I would not be too worried at this stage.

Getting an orphaned unlinked file message is apparently not unusual in the context that you are doing this.

As such I would think it okay to proceed. However, that said, I would strongly recommend making a backup of the drive before proceeding, preferably a clone. That way should anything unfortunate happen you will at least have a copy of the files as they are right now.

Darwin/bsd window -Need to repair permissions- help

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.