Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > FSCK in lieu of Disk Utility?

FSCK in lieu of Disk Utility?
Thread Tools
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Oct 28, 2005, 01:47 PM
 
Someone showed me how to do the equivalent of Disk Utility without starting up from the CD-ROM that came with my iBook as follows:
  • Start up my iBook in single-user mode (turn on the Mac with the power button, holding down Command-S until the logo screen comes up).
  • After all the textual info is presented and you are given a prompt; type: /sbin/fsck -fy
  • repeat after finished if you receive a message saying files were modified
  • otherwise type: reboot
This seems to "work"— but is it proper procedure, and does it really make running Repair Disk via Disk Utility unnecessary?
     
Fresh-Faced Recruit
Join Date: Aug 2002
Location: Carbondale, CO
Status: Offline
Reply With Quote
Oct 28, 2005, 02:31 PM
 
Originally Posted by selowitch
but is it proper procedure, and does it really make running Repair Disk via Disk Utility unnecessary?
Yes and yes. Old news actually.

My question...Can repairing permissions be done from the same screen?
Barry
www.LP.org
     
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Oct 28, 2005, 04:12 PM
 
Originally Posted by selowitch
Someone showed me how to do the equivalent of Disk Utility without starting up from the CD-ROM that came with my iBook as follows:
  • Start up my iBook in single-user mode (turn on the Mac with the power button, holding down Command-S until the logo screen comes up).
  • After all the textual info is presented and you are given a prompt; type: /sbin/fsck -fy
  • repeat after finished if you receive a message saying files were modified
  • otherwise type: reboot
This seems to "work"— but is it proper procedure, and does it really make running Repair Disk via Disk Utility unnecessary?
Might I ask, why would you need to do either? Is there some specific problem you're trying to solve?

You can see what fsck does by reading the man page -- 'man fsck' from the terminal.

But really, fsck shouldn't be necessary, pretty much EVER, if you're running HFS+ (Journaled). Which you should be.
     
Forum Regular
Join Date: May 2005
Location: Somewhere they can't find me
Status: Offline
Reply With Quote
Oct 28, 2005, 08:03 PM
 
Applejack does that plus a whole lot more.
http://www.versiontracker.com/dyn/moreinfo/macosx/19596
"Believe nothing, no matter where you heard it, or who has said it, not even if I have said it, unless it agrees with your own reason and your own common sense."

Buddha
     
Forum Regular
Join Date: May 2005
Location: Somewhere they can't find me
Status: Offline
Reply With Quote
Oct 28, 2005, 08:04 PM
 
Applejack does that plus a whole lot more.
http://www.versiontracker.com/dyn/moreinfo/macosx/19596
"Believe nothing, no matter where you heard it, or who has said it, not even if I have said it, unless it agrees with your own reason and your own common sense."

Buddha
     
Grizzled Veteran
Join Date: Apr 2002
Location: case.edu
Status: Offline
Reply With Quote
Oct 28, 2005, 10:53 PM
 
Permissions repairing can (and should) be run from Disk Utility while booted normally (into the GUI, from the hard disk). If you really want to do it at the command line (or in single user mode), here's how:

Code:
sudo diskutil repairPermissions /

pb 1440x960 | 1.67, 1.5, 128, 80 | leopard
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Oct 29, 2005, 11:12 AM
 
Originally Posted by Tesseract
Permissions repairing can (and should) be run from Disk Utility while booted normally (into the GUI, from the hard disk). If you really want to do it at the command line (or in single user mode), here's how:

Code:
sudo diskutil repairPermissions /
That's how I've been doing it, because I don't like having to find and launch Disk Utiltiy.
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Oct 29, 2005, 11:13 AM
 
Originally Posted by Tesseract
Permissions repairing can (and should) be run from Disk Utility while booted normally (into the GUI, from the hard disk). If you really want to do it at the command line (or in single user mode), here's how:

Code:
sudo diskutil repairPermissions /
That's how I've been doing it, because I don't like having to find and launch Disk Utiltiy.
     
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
Oct 29, 2005, 11:14 AM
 
Originally Posted by CatOne
Might I ask, why would you need to do either? Is there some specific problem you're trying to solve? But really, fsck shouldn't be necessary, pretty much EVER, if you're running HFS+ (Journaled). Which you should be.
Well, I am running HFS+ Journaled; yet when I ran Disk Utility it said it repair one volume and couldn't repair the second (I have only one volume though). It also said I had an incorrect leaf count, whatever that is.
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Oct 30, 2005, 01:21 AM
 
Originally Posted by selowitch
Well, I am running HFS+ Journaled; yet when I ran Disk Utility it said it repair one volume and couldn't repair the second (I have only one volume though). It also said I had an incorrect leaf count, whatever that is.
If Disk Utility can't do it, booting into single-user mode isn't going to work any better. In fact, Disk Warrior is the best way to go for actual repairs of the directory structure. Also, running a surface scan isn't a bad idea either. I've been out of the tech world for more than six months, so I don't know what's changed in this field, but six months ago, Tech Tool Pro was fabulous for running a surface scan ( but nothing else, despite its numerous features ), and Disk Warrior is the best for repairing directory structures.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Forum Regular
Join Date: Aug 2005
Status: Offline
Reply With Quote
Oct 30, 2005, 10:56 PM
 
Originally Posted by selowitch
Well, I am running HFS+ Journaled; yet when I ran Disk Utility it said it repair one volume and couldn't repair the second (I have only one volume though). It also said I had an incorrect leaf count, whatever that is.
You may have a problem, but sometimes the messages you got are generated because someone uses a CD from before 10.3.9 on a Tiger volume. Only Disk Utility from 10.3.9 or later works properly with Tiger (you didn't say what version of the OS you were using). For instance, if you purchased computer with OS 10.3.2, and then upgraded to Tiger but are running Disk Utility from the original 10.3.2 CD, you can get such erroneous messages when checking a Tiger volume. You could get such messages even when nothing is wrong with your disk.

If you are using the right version, then the other poster's suggestion to use Disk Warrior is a good one.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:19 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2