Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Run diskutil repairVolume via console' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run diskutil repairVolume via console
Authored by: orca on Dec 07, '05 09:25:29AM

This console login trick is what worked for me. Disk Utility kept giving an error about being unable to finish the task when I logged in as another user to repair my FileVault sparseimage. I had my backups on hand, so I decided to drop to the console to resolve things:

  1. Enable user and password for the login screen
  2. Log out, then login as >console, then my user name
  3. Mount the image using hdiutilmount --stdinpass /Users/account/account.sparseimage (this lets you mount the disk without a graphical login)
  4. Run diskutil repairVolume /Volumes/account until no errors are reported. The first few attempts may state that repairs could not be completed, but as long as some repairs were done, you're making progress!
  5. Login normally. I noticed that some Desktop/Home icons were not correct, so I just logged out and back in once more
  6. Everything is ok!

This might be an avenue to try before paying for DiskWarrior. Manually running diskutil repairVolume seems to give a more determined effort than the GUI presented by Disk Utility's "Repair Volume" command.



[ Reply to This | # ]