Big Sur update no access to Macintosh HD (in recovery mode)

Hej guys, this seems like the last chance!

I’ll try to keep it short but with as much info as possible.
  • download was fine

  • installation showed technical error after (27 min waiting time left)

  • startup disk does not accept the correct admin password

  • “resetpassword” in terminal using the Apple ID -> this ICloud account is not eligible to disable FileVault key

  • Macintosh HD Data not mounted, requires the same password

  • installing big sur on an external disk did not work

  • no backup on external drive

Is there any chance to mount the disk, or figure out why the correct password does not work?
  • rm “/Volumes/Macintosh HD/var/db/.applesetupdone” did not do anything


any chance to get to the data? I’ll owe you a lot of coffee!

Replies

I had almost the same problem and booting from an external drive worked for me -
  • Installed OS X El Captain (macOS that came with my MBP) on external drive from Internet Recovery

  • Booted from external drive with El Captain (restart with option key pressed). Had to do some account setup and I just did the minimal needed. At this point Macintosh HD was not visible in Disk Utility at all. Mounting through Terminal in Recovery mode did not work either (due to unknown file structure)

  • Upgraded to Mojave (last macOS I had before the Big Sur update). Again had to do some account setup stuff

  • Opened Disk Utility and was prompted to unlock Macintosh HD immediately. The same password that was rejected 10000 times in the last two days by startup disk in Recovery mode was finally accepted.

I'm still copying the data to an external drive. But at least it looks like everything is still there.

Hope it's useful for someone. Good luck. And (also for myself) don't forget to backup next time before upgrading.








Here's what I did. I found it on reddit today (thank god). I hope this helps!

blog.kylekukshtel.com/big-sur-update-failing-diskutil-apfs-filevault-sync-users
Hi  Kirill_L,

I had the exact same problem as you and followed your instructions to address it.

Everything worked as you said, except for the last step: I managed to access Terminal and command it to decrypt the encrypted disk, but the decryption progress has been stuck at 0.0% for over an hour and it doesn't seem like it is going anywhere.

Do you have any idea what could be wrong? I suspect this is happening because I have very little space left (13.2Mb) due to the unsuccessful installation of Big Sur, but it could also be because this disk has 103.1Gb of data.

Also, would it be risky to stop the whole decryption process? I am afraid I would not be able to redo it afterwards.

Thank you all,

Giovanna.
@chehggy @tllporto @toddtompkins25 I also have the same issue, I get stuck with the Big Sur Recovery Mode booted from the USB asking for the user password... Did you figure out anything?
Hi Kirill_L,

I'm also having the same result as chehggy after trying those combinations. It seems if any recovery media sees a FileVault drive, it defaults to requesting the password for the user of that drive before doing anything else.

I know the external drive w/ newly installed Big Sur (which I'll refer to as BigSurExHD) is good, because I was able to boot from it on another MacBook Air that has High Sierra OS on it's HD...it booted up to BigSur after the option choice...that was my verification.

I take that same BigSurEXHD and plug it into the MacBook Air in question w/ FileVault/user account error AND a BigSur USB installer flashdrive....I'm unable to boot into a normal recovery mode. I press option, shoose BigSur USB Installer, then Option R for recovery mode, and it scans volumes and asks me for the password to the user account for the file vaulted drive built into the MacBook Air. I can't get to the disk utility screen or file menu bar to get to terminal and run resetpassword.

What am I missing?
SOLUTION FOUND! (for me anyway, hope it works for you)

Ok, so I’ve never studied any of this stuff, so I’m sure there will be parts here that are amateur or sloppy but these are the steps that ultimately worked.

I had the same problem of an interrupted Big Sur upgrade, and suddenly an encrypted hard drive despite never having set up encryption, an encryption password I obviously didn’t know, a user passphrase that was being accepted at the log-on screen, but not in other places after it would hang and try to enter recover, and a machine that wouldn’t boot and I thought was toast. 

Unlike Kirill, the unlocking the volume step in my Terminal did NOT accept my offered password.

The solution was a combination of things from this forum, the decryption commands from the page Kirill referenced with Terminal commands, and a key partition deletion step figured out by a guy named Kyle Kukshtel on his blog - search "MacOS APFS FileVault Permissions De-Sync During High Sierra to Big Sur Update - kyle kukshtel's game dev/design blog"

Here were my steps, including some fails if they’re helpful to avoid:

I first created a bootable usb installer for Catalina, primarily to use and be expectedly directed to recovery mode, where I then had critical access to Disk Utility and Terminal (whereas I hadn't before). [Catalina was what I could get ahold of, as I had some limitations with the other Mac I was using to make the drive]

In Terminal, I referenced decryption command instructions from the site Kirill cited.  The volume with the data, disk1s1 for me, was listed as both encrypted and locked (diskutil apfs list)

Unlike Kirill, when I tried to unlock it with my user passphrase, it didn’t work. (diskutil apfs unlockVolume /dev/apfs_volume_id_goes_here)  Said the passphrase was incorrect.

I tried to go ahead and decrypt it on a whim. Got the crypto user name per the instructions (diskutil apfs
listcryptousers /dev/apfs_volume_id_goes_here) and put in the decrypt command, but it gleefully told me it needed to be unlocked first as suspected.

Next I went over in Disk Utility, where I had ‘Macintosh HD’, ‘Macintosh HD data’, and ‘Update’ partitions listed, plus
the usb I had booted from.

'Macintosh HD data' was unmounted, greyed out. When trying to mount it, it asked for the user password and did not accept the correct password on several tries, similar to other places.  It even gave the Hint option, the hint therein telling me I definitely had the right password. 
  • This was the first Key step*  As suggested in the blog's solution, I ERASED the Update partition in Disk Utility. It automatically rebuilt itself.  I then erased Macintosh HD (NOT Macintosh HD data), and it rebuilt itself as well. (At this point, I

was ready to fail and wipe it, so it was ‘what do I have to lose’.) Suddenly, however, on trying to mount Macintosh HD data again, it accepted the password and mounted!  Somehow, erasing and allowing the other partitions to rebuild allowed things to re-sync somehow?!?

I immediately created a disk image of the hard drive and put it on my external HD.  I wasn’t sure whether the image data would be encrypted or not, but this was the first opportunity I had to back anything up before going further, so I
did.

I decided to next let the computer restart and see if resetting those partitions somehow would allow it to boot,
or continue the software update, recover, anything different.  No dice. (would later turn out to be a mistake/barrier that had to be fixed).

Meanwhile, I attempted to load the backed up image on my older Mac. After a painfully long verification, it
informed it couldn’t load the files referencing something about the file system. The two computers aren’t on the same macOS version, and it’s much older to be sure, but I suspected it was more to do with the encryption.

I restarted again, booting back from the usb installer once more. I tried the Terminal operations again, thinking maybe
now the password would be accepted to unlock the drive.  Alas it was not, couldn’t be unlocked, and again couldn’t be decrypted.

I went back into Disk Utility.  Curiously, there were now two Macintosh HD’s listed, two greyed out data partitions, ‘Macintosh HD data’ and ‘Macintosh HD data data’, and two update partitions.  Macintosh HD data data was the one showing the significant amount of storage, the rest had a few kb’s each. Infuriatingly, though, all of a sudden, trying to
mount it gave the same problem of not accepting the correct password typed carefully multiple times.  What the heck? 

I erased the HD and Update partitions again (note, it turned out I needed to erase BOTH copies of the two other partitions this time – four total before it would work), and all of a sudden, the password took again and the data partition mounted.  [Side note – I was desperate to see if there was some other functionality in Disk Utility that would allow me to move data around. By attempting to open a file image, I was actually able to see ALL of my data/files/documents in the ‘data data’
partition via the ‘Open’ dialogue box. But the functionality did not exist to simply drag them over to my waiting USB, which was also shown in the box; wouldn’t that have been nice? Granted, seeing the file names didn’t likely mean they weren’t still encrypted. But it was a cruel tease seeing them laid out...]

OK, so I quit Disk Utility and got back into Terminal – THIS TIME DURING THE SAME REBOOT as having mounted the partition in Disk Utility with now re-accepted password.

The volume was now suddenly listed as Unlocked!

I ran the command to see the cryptousers list again, copied the long string for the user name, and attempted to decrypt
once more, hoping I could now get access with the passphrase for the user for the volume. SUCCESS! It accepted the user passphrase as sufficient and started decrypting!

I monitored the decryption progress by running [diskutil apfs list] every now and then.  The thing took a couple of hours at least to complete. I didn’t dare interrupt.

When it finished the data volume was listed as ‘FileVault: No’ !

I went back into Disk Utility and went ahead and ran First Aid on the newly decrypted ‘data data’ to be complete. There were no problems. I made a new disk image back-up to replace the prior one I had put on my external HD.

Restarted it again bringing up the startup disk options and told it to boot from ‘data data’.  It booted up to the desktop and now appears to work, with full access to data, programs, etc.

Hope that is helpful to those of you still sweating this problem! Thanks to everyone on the forum for being part of the solution! (HT to Kirill in particular)
(EASY) SOLUTION FOUND!

Here's what worked for me:
You need: Thunderbolt-Cable, 2nd Mac with Mohave installed on it.
  1. Create a complete disk image of the broken Mac.

  2. Open the disk image on your working Mac with Mohave installed. It should accept the password and Macintosh Data should be unlocked.

  3. Backup everything you need, wipe the broken Mac's drive and reinstall Big Sur with a bootable USB installer.

Hope this will help somebody. Feel free to ask any questions.