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

Mysterious crashes? Try repairing the sparseimage System
I had an issue where everything seemed to crash at once (Help, Safari, Mail, etc.) Even Disk Utility died. But, I have the FileVault protection on my user account. And, it appears that the permissions on the user directory got borked. When you try to run Disk Utility from another user account, it can't check the permissions inside the FileVault protected image. Here's how to get around that:
  1. Log in as another user. If you have root enabled on the machine, that will work fine too.
  2. Go to /Users/your_username and double click to mount the sparseimage file. It will prompt you to enter your password to mount this image.
  3. Go to Applications -> Utilities -> Disk Utility
  4. Unmount the sparseimage. Note that the file name will still show up in the list of drives. Click on the sparseimage and chose "Repair Drive."
  5. Log out (I suggest rebooting) and try to log into your user again.
Hopefully, everything should be working again!
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[12,207 views]  

Mysterious crashes? Try repairing the sparseimage | 4 comments | Create New Account
Click here to return to the 'Mysterious crashes? Try repairing the sparseimage' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mysterious crashes? Try repairing the sparseimage
Authored by: TicToc on Jun 08, '04 01:36:58PM

I'm having problems with Help, and just had a couple of odd (i.e. blank) dialog boxes in Entourage, so I thought I'd try this. I logged out, then in as another (admin) user. Mounted the sparseimage as per the hint (prompted for password), launched Disk Utility & unmounted the disk image. Unfortunately all I see is "Verify Disk" - "Repair Disk" (and both Permissions options) is greyed out.

Any ideas?



[ Reply to This | # ]
Mysterious crashes? Try repairing the sparseimage
Authored by: olivesoft on Jun 08, '04 04:16:57PM

"Repair Drive" doesn't fix the permissions. It repairs the volume structure. "Repair Permissions" is disabled for all but the startup volume.

---
-Bob
---------------------
I tend to think of [Mac] OS X as Linux with QA and Taste.
-James Gosling, Java Architect



[ Reply to This | # ]
Mysterious crashes? Try repairing the sparseimage
Authored by: cryptonomicon on Dec 03, '05 09:20:49PM

To add to this hint, you can also use Disk Warrior to repair the FileVault volume. Start out logged in as another user, as described in the hint. I found that if you just go ahead and mount the sparseimage, Disk Warrior will see it as a locked disk and be able to scan it, but not repair it. So, before double-clicking the sparseimage file to mount it, select it and open up the Get Info panel (Command-I). Go down the "Ownership & Permissions" section, and click the Details disclosure triangle. Next to Owner, click the lock symbol if it is not already unlocked. Switch the Owner to the user you are currently logged in as. You may need to authenticate as an admin user.

Now, mount the sparseimage, and you should be able to repair it with DiskWarrior. When you're all done with repairs, go back to Get Info and restore the Owner setting back to the user whose FileVault sparseimage it is. That's it!

I just recovered from some nasty directory corruption today on my FileVault voume (that Disk Utility couldn't fix) by following these steps.



[ Reply to This | # ]
Mysterious crashes? Try repairing the sparseimage
Authored by: cryptonomicon on Dec 03, '05 09:42:06PM

To add to this hint, you can also use Disk Warrior to repair the FileVault volume. Start out logged in as another user, as described in the hint. I found that if you just go ahead and mount the sparseimage, Disk Warrior will see it as a locked disk and be able to scan it, but not repair it. So, before double-clicking the sparseimage file to mount it, select it and open up the Get Info panel (Command-I). Go down the "Ownership & Permissions" section, and click the Details disclosure triangle. Next to Owner, click the lock symbol if it is not already unlocked. Switch the Owner to the user you are currently logged in as. You may need to authenticate as an admin user.

Now, mount the sparseimage, and you should be able to repair it with DiskWarrior. When you're all done with repairs, go back to Get Info and restore the Owner setting back to the user whose FileVault sparseimage it is. That's it!

I just recovered from some nasty directory corruption today on my FileVault voume (that Disk Utility couldn't fix) by following these steps.



[ Reply to This | # ]