Boot Camp Assistant partition error— what to try next?

MacBook Pro Retina Late 2013, running Big Sur 11.0.1.


I'm trying to install Windows using Boot Camp Assistant, encountering: "An error occurred while partitioning the disk. Please run First Aid from within Disk Utility to check and fix the error."


I've seemingly been unable to repair any errors using Disk Utility; the only time anything was flagged was when running First Aid on Container disk1. The following lines may be of note:


error: Cross Check : FSroot tree references extent (0x686378d + 64) which is not present in the ExtentRef tree (x3 similar)

error: Cross Check : Mismatch between extentref entry reference count (0) and calculated fsroot entry reference count (1) for extent (0x686378d + 64) (x3 similar)

warning: apfs_fs_alloc_count is not valid (expected 64182711, actual 64182903)

warning: overallocation detected on Main device: (0x686378d+192) bitmap address (0x7d1f)


However, First Aid then says the volume appears to be OK, and that the operation was successful— even though it will return the same error messages if the operation is performed again. To be honest, I don't know if this is even relevant.


I have never used Time Machine, but there appears to be one System Snapshot on the computer (I think created during Big Sur installation). I've read that the presence of these can be a cause of the problem, but I am hesitant to force-delete the one I have found (com.apple.os.update-779BDF1556C6F68), because—after running First Aid on any volume—Disk Utility is indicating that the snapshot is mounted instead of Macintosh HD.(?) This reverts to normal after trying Boot Camp again, and then back again after First Aid. (I don't understand, sorry).


I did have a Windows partition a couple of years ago (pre-APFS, I think) which I quite possibly resized and ultimately deleted using Disk Utility, not Boot Camp, so perhaps this is a source of the problem.


I've spent hours looking for a solution and have tried a couple of things, so I will let you know if I have already tried something that is suggested. I'd be really grateful if someone could point out to me what would be the next sensible step.


Thanks.



MacBook Pro 13″, macOS 11.0

Posted on Nov 19, 2020 6:28 AM

Reply

Similar questions

19 replies

Nov 20, 2020 9:34 AM in response to Loner T

Hi, thanks for getting back to me. I should update to say I tried the snapshot-deleting approach above but with no luck.


Here is the output of sudo fsck_apfs -n -l /dev/rdisk1:


** Checking the container superblock.


** Checking the EFI jumpstart record.


** Checking the space manager.


** Checking the space manager free queue trees.


** Checking the object map.


** Checking volume.


** Checking the APFS volume superblock.


** The volume Macintosh HD - Data was formatted by hfs_convert (748.57.19) and last modified by apfs_kext (1677.50.1).


** Checking the object map.


** Checking the snapshot metadata tree.


** Checking the snapshot metadata.


** Checking the extent ref tree.


** Checking the fsroot tree.


error: Cross Check : FSroot tree references extent (0x686378d + 64) which is not present in the ExtentRef tree


error: Cross Check : FSroot tree references extent (0x686380d + 64) which is not present in the ExtentRef tree


error: Cross Check : FSroot tree references extent (0x68637cd + 64) which is not present in the ExtentRef tree


error: Cross Check : Mismatch between extentref entry reference count (0) and calculated fsroot entry reference count (1) for extent (0x686378d + 64)


error: Cross Check : Mismatch between extentref entry reference count (0) and calculated fsroot entry reference count (1) for extent (0x68637cd + 64)


error: Cross Check : Mismatch between extentref entry reference count (0) and calculated fsroot entry reference count (1) for extent (0x686380d + 64)


warning: apfs_fs_alloc_count is not valid (expected 66917071, actual 66917263)


Fix apfs_fs_alloc_count (oid 0x403, xid 0x5c84b4)? NO


** Checking volume.


** Checking the APFS volume superblock.


** The volume Preboot was formatted by newfs_apfs (748.57.19) and last modified by apfs_kext (1677.50.1).


** Checking the object map.


** Checking the snapshot metadata tree.


** Checking the snapshot metadata.


** Checking the extent ref tree.


** Checking the fsroot tree.


** Checking volume.


** Checking the APFS volume superblock.


** The volume Recovery was formatted by newfs_apfs (748.57.19) and last modified by apfs_kext (1677.50.1).


** Checking the object map.


** Checking the snapshot metadata tree.


** Checking the snapshot metadata.


** Checking the extent ref tree.


** Checking the fsroot tree.


** Checking volume.


** Checking the APFS volume superblock.


** The volume VM was formatted by newfs_apfs (748.57.19) and last modified by apfs_kext (1677.50.1).


** Checking the object map.


** Checking the snapshot metadata tree.


** Checking the snapshot metadata.


** Checking the extent ref tree.


** Checking the fsroot tree.


** Checking volume.


** Checking the APFS volume superblock.


** The volume Macintosh HD was formatted by storagekitd (1677.50.1) and last modified by apfs_kext (1677.50.1).


** Checking the object map.


** Checking the snapshot metadata tree.


** Checking the snapshot metadata.


** Checking snapshot 1 of 1 (com.apple.os.update-779BDF1556C6F688504E24FB29C75AFFABFCB91E701806FFFF35235E19914F1E)


** Checking the extent ref tree.


** Checking the fsroot tree.


** Checking the file extent tree.


** Checking volume.


** Checking the APFS volume superblock.


** The volume Update was formatted by com.apple.Mobile (1677.50.1) and last modified by apfs_kext (1677.50.1).


** Checking the object map.


** Checking the snapshot metadata tree.


** Checking the snapshot metadata.


** Checking the extent ref tree.


** Checking the fsroot tree.


** Verifying allocated space.


warning: overallocation detected on Main device: (0x686378d+192) bitmap address (0x9db7)


Fix overallocation (0x686378d+192) bitmap address (0x9db7)? NO


** The volume /dev/rdisk1 appears to be OK.

Nov 25, 2020 11:51 AM in response to Loner T

/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *500.3 GB   disk0


   1:                        EFI ⁨EFI⁩                     209.7 MB   disk0s1


   2:                 Apple_APFS ⁨Container disk1⁩         500.1 GB   disk0s2




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +500.1 GB   disk1


                                 Physical Store disk0s2


   1:                APFS Volume ⁨Macintosh HD - Data⁩     288.7 GB   disk1s1


   2:                APFS Volume ⁨Preboot⁩                 281.3 MB   disk1s2


   3:                APFS Volume ⁨Recovery⁩                655.5 MB   disk1s3


   4:                APFS Volume ⁨VM⁩                      2.1 GB     disk1s4


   5:                APFS Volume ⁨Macintosh HD⁩            14.9 GB    disk1s5


   6:              APFS Snapshot ⁨com.apple.os.update-...⁩ 14.9 GB    disk1s5s1

Nov 19, 2020 6:48 AM in response to ClairviusNarcisse

By the way, this is what I would like to try next:


"I was trying to install Boot Camp using macOS Big Sur. For some reason, Beta 1 installed some Snapshots on the Macintosh HD volume that prevented the disk from being partitioned. I did eventually get it working, but the solution did not come from me. Credit goes to user tomadimitrie on the Mac Rumors forums who found the solution.

  • First I booted into macOS recovery mode, and made sure that Macintosh HD was mounted in Disk Utility.
  • Then I opened Terminal from Utilities > Terminal.
  • Then I needed to find out the id of the Macintosh HD drive by using the command diskutil list, and finding the IDENTIFIER of the Volume called Macintosh HD. This ID may be different in recovery mode than the one in regular macOS, so make sure you run the command in the recovery mode terminal. The IDENTIFIER looks something like this: disk1s1.
  • Then run the command diskutil apfs listSnapshots <Macintosh HD's disk id> to list all the snapshots, all which start with com.apple.os.update-.
  • Then delete each Snapshot by using the command diskutil apfs deleteSnapshot <disk id> -uuid <snapshot uuid from the previous command>. The last one should return an insufficient permissions, but that is fine. Reboot into macOS."


But I need to know if would be safe to delete that snapshot, seeing as (after running First Aid and before trying to partition with Boot Camp again) Disk Utility shows this:



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Boot Camp Assistant partition error— what to try next?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.