Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

My Mid-2012 Mac Book Air running an up-to-date install of Mountain Lion crashed the other evening (browsing the web, one tab started beach-balling, and refused to be force-quit so I forced a restart).

When restarting, it seems to accept my user's password to unlock the FileVault 2 encryption (I'm certain the password is correct, and typing a known incorrect password results in a shaky input field). The next screen is a grey screen, with a spinning progress wheel. Eventually a grey embossed sign is displayed, and that's about as far as it progresses. Booting using verbose mode (+V) results in repeated lines of Still waiting for root device being logged.

Entering recovery mode (+R) to try and restore from a TimeMachine backup, or zap the drive and re-install from the internet gets me as far as a password input box requesting I "Enter a password to unlock the disk Macintosh HD", but I cannot get past this screen despite entering correct passwords for both users who have the ability to unencrypt the drive (And I think getting past the initial unlock screen with these passwords demonstrates that they work, but I'm happy to be corrected), with the password box just shaking and rejecting the password.

Attempting to unlock the drive from the Terminal in Recovery Mode fails to mount the drive, but claims to have been unable to unencrypt it:

-bash-3.2# diskutil cs unlockVolume XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Passphrase:
Started CoreStorage operation
Logical Volume successfully unlocked
Logical Volume successfully attached as disk13
Error: -69842: Couldn't mount disk

I've run the hardware tests, and they showed no problems. I've seen this question describing similar symptoms, but that solution did not appear to help, with the password field of the Unlock Drive menu option in Recovery Mode's Disk Utility also rejecting the password.

Essentially my question is "how can I get my laptop back into a working state"? I have recent TimeMachine backups, and so if the least painful is to format the drive and start again then I'm happy to do that, but at present I can't manage to get the drive wiped.

I have my FileVault Encryption key if necessary.

share|improve this question
    
Updated question to add output from Terminal in Recovery Mode. Maybe it's just failing to mount the drive for some reason? –  Edd Oct 2 '13 at 8:08
    
Any new info on this? Unfortunately, my Mavericks-based OS X laptop just exhibited the exact same behavior, and I'm at a loss -- The boot drive might as well no longer exist. –  VeryVito Nov 1 '13 at 20:11
    
@VeryVito Unfortunately not; I ended up re-installing using a USB-key MountainLion installer. I'll add an answer to that effect in the morning, as unsatisfactory a solution as it was. –  Edd Nov 1 '13 at 21:57
    
This has happened to me too. Desperate for a solution.... –  user69159 Jan 31 at 18:40

2 Answers 2

Just had this happen to me, error -69842 on a FileVault encrypted mid-2013 MacBook Air, and I spent a fair bit of time on it the last few days. I tried Recovery Mode, Target Disk Mode, fsck_hfs, and DiskWarrior with no luck. Disk Utility gave me an error 'Invalid thread record' or something like that. DiskWarrior indicated it was a 'disk hardware failure'. It was a corrupted FileVault volume no doubt.

I was finally able to get at my files by booting up in single-user mode. Hold Command+S while booting. You'll have to pick a user and enter your password, then it'll drop you to command line. The encrypted volume that would otherwise fail to mount with Disk Utility or 'diskutil coreStorage unlockVolume' will be already mounted in your Unix shell. Apparently single-user mode bypasses whatever filesystem check is failing when an error unlocking occurs. Perhaps this is because no fsck is being run, I'm not sure.

I was able to get my files off this way using a connected USB drive. Run 'mount -uw / && mkdir /Volumes/usb', then plug the USB in and do 'ls /dev/disk*' to find the name. Mine was /dev/disk2s2, so 'mount_hfs /dev/disk2s2 /Volumes/usb' and I had a way to copy files off. Use mount_msdos instead of mount_hfs if you formatted it for non-Mac use. I selectively copied user folders one thumbstick at a time, but if you have a large enough USB drive attached then just do a 'tar czpf /Volumes/usb/Users-backup.tgz /Users' to get a copy of the entire /Users folder in tar-gzip format.

Recreating the FileVault volume is necessary. I did not find a way to repair it.

share|improve this answer

To just delete the bad volume and start over type:

diskutil cs deleteVolume XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

At that point the normal diskutil and Disk Utility steps will allow partitioning or just run the installer since your drive will effectively be empty (filled with random encrypted bits with the cs keys and file system structure effectively shredded)

share|improve this answer
    
Thanks bmike, but is there a way to recover any files/folders first? –  user69318 Feb 2 at 16:56
    
Did you try repairing the disk after unlocking? If the mount fails, that could be the end of the rope or you might have an uncounted but writeable device for the tool to correct the file system structure. –  bmike Feb 2 at 17:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.