How can I repair a File Vault sparsebundle?

Apple has directions for repairing a File Vault sparseimage under 10.3-10.4 here:
http://support.apple.com/kb/HT2631
I couldn't find anything more up-to-date, so I followed those directions but using the different permissions setup in 10.5. Everything seemed to work fine up until it came time to mount the sparsebundle. It wouldn't mount. I could drag the sparsebundle into Disk Utility, but when trying to "Repair" or "Verify" I get this error message:
Unable to attach “testserver.sparsebundle”. (Operation not supported on socket)
\[DUDiskController viewablePartitions\] expecting DUDisk, but got nil
As I was typing this post, I figured out what to do. Being an Admin doesn't cut it; you have to be root. I did not find it listed online, so I'm jotting it here; do this instead of what Apple says:
1. Disconnect from the network (turn off AirPort, unplug Ethernet) because we're about to temporarily log in as root, which could leave us exposed.
2. To enable the root user, open Applications / Utilities / Directory Utility. Unlock the icon with your admin password, then choose "Edit menu > Enable Root User". If this is the first time, enter a password for the root user, or if you have forgotten your root password, choose "Edit menu > Change Root Password".
3. Log in as root: Log out of the current account, then in the blank login screen, enter "root" as the username along with your root password. Or, if you have fast user switching enabled, make sure you are logged out of the FileVault in question, then pick "Login Window..." from the user menu. If you aren't allowed to type in a user name, open System Preferences > Accounts > Login Options, then disable "Automatic Login" and by "Display login window as" pick "Name and password".
4. Mount the sparsebundle: From the Finder's "Go" menu, pick "Go to folder..." and enter "/Users/". Drill down to the sparsebundle inside your FileVault account, and double-click it to mount it. When asked for your keychain password, cancel. Then you will be asked for your FileVault account's password. For security, make sure the "Store this password in my keychain" checkbox is NOT checked. Enter your FileVault password. The sparsebundle should mount.
5. Repair normally from Applications / Utilities / Disk Utility. The sparsebundle should appear as both a disk and a volume in the left pane of the Disk Utility. When done, quit, eject the sparsebundle and log out of the root account.
6. IMPORTANT: Log back in to a normal administrator account, open Applications / Utilities / Directory Utility, unlock it if necessary, then pick "Edit menu > Disable Root User". Lock the utility and quit.
7. If you disconnected from the network in step 1, it's okay to reconnect now.
From a security standpoint, it's best to leave the root user disabled. Most of the time, an admin user can get temporary root privileges; this just happens to be an exception.

Figured it out and shared solution.

Similar Messages

  • How can I repair jpeg files that seem to be damaged in my iPad?

    Hello everyone. I have an iPad 1 where I put some pictures using a PC and that were not sync by iTunes. Hope that makes sense, I did't use the iTunes rather just drop the folder with the pics in the iPad using a PC (like pretty much an external drive), I was able to see the pictures in my iPad without problems, even as I created the albums. Then my laptop was stolen and I lost all the original files. I want to recover those pictures but when I connect the iPad to my iMac it doesn't recognize the files by iTunes or iPhoto (only the ones that are in the camera roll, those saved from emails on the iPad)
    I downloaded two different programs to try to import the pictures to my iMac and I can see the files but then I realized that those files are empty. The thumbnails show the images kindy of blurry but when I copy the files and try to open them it says is empty. In the iPad the pictures now appeared to be also blurry, this did not happened before, I saw the pictures last week and were perfect, I'm assuming that in the process of trying to find a program to extract the pictures the files were damaged somehow.
    Please tell me there's a way I can repair those files! I have around 3000 pictures that otherwise are lost forever.
    Thanks in advance!

    Thanks for your reply. The pictures are blurry on the iPad too, if I try to email them from there the email shows the attached file as a question mark (?). I already try to take out the files with a PC without iTunes and I can't see the files there either. I only found the files with those two programs but the also appeared as empty files.
    The question is if I can repair those files. Thanks a million.

  • How can I repair damaged pdf files?

    I have several hundreds of damaged pdf files and want to repair them. I need to know how to repair them, for example with a software!

    Hello Sukrit,
    thank you for your reply!
    I have deleted the PDF Files and needed to recover them. The size will be shown, but I can't open all of them.
    I would like to recover them again or change them again to PDF files, if possible.
    With regards,
    Stephan
    Von meinem iPad gesendet
    Am 24.04.2015 um 15:41 schrieb "sukritd15" <[email protected]>:
    How can I repair damaged pdf files?
    created by sukritd15 in PDF Forms - View the full discussion
    Hi Stephan ,
    Acrobat is capable of repairing the damaged PDF' ,however it depends on the requirement as to how do you want to repair them.
    There could be several reasons that can damage a PDF.
    We need to know the cause that has damaged those PDF' and how exactly you want to repair them in order to assist you accordingly .
    Regards
    Sukrit Dhingra
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7474818#7474818 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7474818#7474818
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in PDF Forms by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • PSD files corrupted, How can i repair it?

    Hi,i have 3 .PSD files corrupted, How can i repair it? when i try to open it , appear this message  " it is not a valid Photoshop document."

    Work File Safety | Mylenium's Error Code Database
    Mylenium

  • HELP! How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?

    Hi,
    I am having a few problems with bootcamp on my imac. When i tried to move the bootcamp partition on windows 7 into free space, it crashed and turned off. Ever since i have had the error 'Missing operating system' and it fails to boot. I have some very important files on the bootcamp partition. Is it possible to recover these files or even to restore the bootcamp partition to it's original state? I do not have a backup of my bootcamp partition. Another problem i have is that ever since i tried to expand my macintosh HD partition into free space, when i hold alt while booting up (to choose which partition to boot like i normally do), the bootcamp partition has stopped appearing. This means that i cannot even boot the windows 7 bootcamp partition anymore!
    So basically here are my 2 questions:
    How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?
    How can i make the Bootcamp partition appear in Startup Disk and when i hold the option key while starting up my computer to allow me to boot windows 7?
    Any solutions are very much apreciated!
    Thanks!
    I know that bootcamp (disk0s4) hasn't been fully deleted since it appears in disk utility (i cant do anything to it though)
    And here is the error i see when i try to launch bootcamp (back when i was actually able to boot up bootcamp to the error screen)

    WinClone 3 is OS X and saves Windows image it makes for restore - that should work but you will have to try and you would need to make a new image unless it also works with a native Windows system restore image. It is now supported and has come a long way.
    http://www.twocanoes.com/
    Paragon Clone OS works and does disk-to-disk clone just like CCC you end up with two bootable drives. But does not work with your setup. It would let you clone and move your Windows install to an SSD or another disk drive though and be bootable.
    During its clone process it checks for errors which is very helpful and lets you know - something CCC and others should adopt more of.
    http://www.paragon-software.com/downloads/demo.html
    I wish for our/my sake you had re-read and rewritten the long 'story' and broken it into a brief list of facts we needed.
    OS X
    Windows
    Backup (though external is much safer) and you want bootable OS X clones as well as TimeMachine
    https://support.apple.com/kb/HT1427
    https://support.apple.com/kb/HT1553
    There are a number of things to do like chkdsk and others as well as Windows DVD to do automatic system repairs and find out why.
    AppleHFS - the abilty to mount and read HFS volumes can be notorious.
    I would rearrange and redo your storage setup and how you use the 4-5 internal hard drive bays.

  • I rented a movie and it appears in the video app, but it did not fully download. It does not appear in downloads how do I repair the file?

    I rented a movie and it appears in the video app, but it did not fully download. It does not appear in downloads how do I repair the file?

    Did you download it using iTunes for Windows, or did you download it directly to an iOS device?
    If you can't find the movie you downloaded on your iPad, iPhone or iPod Touch, check inside your Videos App

  • How can I see my files on Time Capsul

    How can I see my files on Time Capsul

    Do you mean Time Machine files or ordinary files.. ??
    Did you copy files to the TC? It should just open in the finder as long as the TC is available and the airport utility shows it connected.
    If you want to see the contents of the TM files.. open the sparsebundle and use main Time Machine icon in the dock.
    Read more.. pondini will help you.
    http://pondini.org/TM/FAQ.html
    Try Q15

  • I can't turn off file vault

    I was installing stuffit de luxe but i can't turn off file vault -- i receive en error
    and computer restart without decripting my vault.
    Does anybody knows how to fix this problem?

    The only way I found to deal with that problem is to back up the disk drive to an external disk drive, them reformat the File Vaulted drive and copy the original data back to it.

  • TS3276 Mail application keeps shutting down short after start up - resulting in an error message. how can I repair what is wrong without losing my mail history?

    Mail application keeps shutting down short after start up - resulting in an error message. how can I repair what is wrong without losing my mail history?

    Will I lose my emails I have on there? I have numerous client email files and can't afford to lose any of them. I do have everything backed up but I'm fearful of losing important client info. What if something happened during the back up and it doesn't have my files?

  • Can't turn on  File Vault on HFS+(case-sensitive, journal)

    Hi Guys
    I can't turn on File Vault on HFS+(case-sensitive, journal), OSX10.4.8
    I've done disk repair.
    Thanks

    Hello
    I'm sorry I can't help you with your problem, but I do believe, that security-problems should for most users be solved in a different way (e.g. encrypted disk-images). Please read the following post:
    http://discussions.apple.com/thread.jspa?messageID=3583185&#3583185
    Good luck!
    senex

  • Disk Utilities can not repair my disk - invalid node structure. How can I repair my disk? I have restarted with the CD.

    Hi,
    How can I repair my hard disk. Computer Starts up and then shuts down.
    I've started up with the CD and disk utilities can not fix the disk, invalid node error.
    How can I fix my disk?
    I need to get to the file on the hard disk.
    Thanks
    Peter

    With Disk Warrior can I start with a CD/DVD and get at the files on the hard disk?
    With apple disk utilites I can not see my files that are on the hard disk.
    If I could get at my files I could back them up and reformat my hard disk.

  • How can I repair disk permissions

    How can I repair disk permissions on a non boot drive? I have a SSD as my boot disk and a HD as a storage drive. The permissions are not correct on th HD and in disk util the option for fixing the permissions is ghosted out. I really would hate to do this one folder at a time.
    Thanks

    FYI, BB
    Below is a quote from Apple describing what Disk Permissions deals with.
    If you still need assistance, please describe what problem/issue you are trying to solve.
    http://support.apple.com/kb/HT1452
    "Many things you install in Mac OS X are installed from package files (whose filename extension is ".pkg"). Each time something is installed from a package file, a "Bill of Materials" file (whose filename extension is ".bom") is stored in the package's receipt file, which is kept in  /Library/Receipts/ in Mac OS X v10.5 and earlier. These files don't take up much disk space and you shouldn't put them in the Trash. Each of those ".bom" files contains a list of the files installed by that package, and the proper permissions for each file.
    Does Disk Utility check permissions on all files?
    Files that aren't installed as part of an Apple-originated installer package are not listed in a receipt and therefore are not checked. For example, if you install an application using a non-Apple installer application, or by copying it from a disk image, network volume, or other disk instead of installing it via Installer, a receipt file isn't created."
    Is this what you want to "fix"?

  • How can I repair the Volume?

    My IMac G5,(late model '04) was not working as expected. I verified the permissions, and a few were repaired. The problem continued, then I verified the disk(Tiger).
    The process returned a message box with the following text: "First Aid Failed. Disk utility stopped because the following error was encountered: The underlying task reported failure on exit".
    There are 2 message indicating the "Volume bit map needs minor repair" and "the 1HFS volume checked needs repair"
    The clickable button that should be pressed to perform this repair is grayed out and non functional.
    How can I repair this disk?
    Re Hard drive specs:
    ST380013AS:
    Capacity: 74.53 GB
    Model: ST380013AS
    Revision: 3.42
    Serial Number: 5MR6P2DG
    Removable Media: No
    Detachable Drive: No
    BSD Name: disk0
    Protocol: ata
    Unit Number: 0
    Socket Type: Serial-ATA
    OS9 Drivers: No
    S.M.A.R.T. status: Verified
    Volumes:
    Tiger:
    Capacity: 74.41 GB
    Available: 46.94 GB
    Writable: Yes
    File System: Journaled HFS+
    BSD Name: disk0s3
    Mount Point: /

    Yes, you cannot repair the Disk while booted from the same one.
    "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
    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, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    In the future... you do not want to Repair Permissions or do any writing the the HD if it needs repair.

  • OhhHH my God error 1013 how can I repair it realy bothering me??

    OhhHH my God error 1013 how can I repair it realy bothering me??

    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.
    http://support.apple.com/kb/TS3694#error1013

  • How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?

    How can I copy mp3 files from my Itunes library to an SD card for use in a non-apple phone?  I can physically copy the tunes as mp3's but the phone does not seem to be able to play all of them.   Do I need to copy an entire album or can I just pick & choose individual songs?   The phone is question is an LG running who knows what for an operating system.

    AAC is Advanced Audio Coding.  Basically it's a format that sounds better than MP3 but doesn't take up as much space as a lossless format (like you'd have on a CD).  More than likely you've had that encoding turned on when you ripped your music into itunes (it's the default encoder).  Therefore your LG phone won't play them.
    You need to turn off the AAC format by going to the iTunes menu, Preferences, General (at the top), then clicking the "Import Preferences" button.  Change the AAC Encoder to MP3 Encoder.  After that you'll have to make MP3 copies of your songs by right clicking them and selecting "Create MP3 Version."  You'll get a copy of the song that should transfer to your SD card and have MP3 encoding.  Hopefully your phone will play that.

Maybe you are looking for

  • Error while deploying to WebLogic from Jdeveloper 11.1.1.4

    Hello, For some reasons, suddenly Jdeveloper gives some problems when trying to deploy an application to the internal WebLogic. It used to deploy the app without any problems in the past. I must have done something wrong and I would like to know what

  • I NEED ADOBE WORK BOOKS FOR CS5 TRAINING CLASSROOM IN A BOOK

    I am studying Adobe CS5. I need work books for ActionScriptt 3.0 for Adobe Professional CS5,Adobe Flash Professional,Adobe After Effects CS5,Adobe Photoshop CS5,Adobe INDesign, CS5, Adobe Flash Catalyst CS5,  Adobe Fireworks CS5,Adobe Illustrator CS5

  • CRM 4.0 and BI 7.0 - CRM Workbooks are blank after upgrade to BI 7.0

    We have upgraded to BI 7.0 SP13. When executing CRM reports they return no data. It appears that the variants are not being passed correctly to BW to extract the data. We have run all of the required programs to convert variants after upgrade. This i

  • Access to whole payload in user defined function

    Hi, is there a way to access the whole XML payload in a user defined function or is it necessary to employ a Java mapping? Kind regards, Heiko

  • DAB Radio on N8 Belle

    Since updating to Belle, I am no longer able to use the dab radio app, which renders my £40 headset obsolete. Hopefully this app will be available again soon?? Solved! Go to Solution.