Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Helpful Command for Mac Users

Mar 16, 2006 3:22AM PST

Hi, figured I would share this with the Mac users on here. I just had an issue today where something got messed up with my preferences. Before I figured that out, I ran a disk utility check of my hard drive.

The problem is, you can usually only do a "Repair Disk Permissions" with disk utility on the drive you boot from and that is often the one that needs repairs. So, if you want to do an actual disk repair and you don't have the System CD to boot from, do the following. It will boot you into single user mode with a (don't be frightened...) command line. Happy

1) Hold down Command-S while rebooting.
2) when the black screen with white text comes up type:

/sbin/fsck -fy

be sure to note the space between fsck and -fy

It will then run through a diagnostic. When it is finished, type reboot.

-Kevin S.

Discussion is locked

- Collapse -
Applejack is a pretty good utility too ..
Mar 16, 2006 3:30AM PST

Since we're on the topic of helpful stuff. Applejack is a free utility that can be run in single-user mode, and does file and disk checks/repairs, verifies preference files, and a couple more things that I can't remember off the top of my head.

http://applejack.sourceforge.net/

-Terry

- Collapse -
(NT) (NT) Thanks - will bookmark the link
Mar 16, 2006 5:16AM PST
- Collapse -
thanks
Mar 16, 2006 11:03AM PST

I will print out your post for future reference.

- Morley

- Collapse -
Ah, yes
Mar 16, 2006 1:14PM PST

The good old fsck command. Gotta love it. I always wanted the ThinkGeek shirt that said "fsck it", but then they got rid of it, and I was sad.

-Ryan