1

I am trying to create a 20GB MS-DOS(FAT) partition on my Macintosh HD drive. Upon defining the partition in Disk Utility and running the process, it throws up this error...

Running operation 1 of 2: Add “parrot” by splitting “Macintosh HD”…
Resizing APFS Container designated by APFS Container Reference disk1
Verifying storage system
Using live mode.
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume.
Checking the container superblock.
Checking the EFI jumpstart record.
Checking the space manager.
Checking the object map.
Checking the APFS volume superblock.
Checking the object map.
Checking the fsroot tree.
Checking the snapshot metadata tree.
Checking the extent ref tree.
Checking the snapshots.
Checking snapshot 1 of 1.
Checking the APFS volume superblock.
Checking the object map.
Checking the fsroot tree.
Checking the snapshot metadata tree.
Checking the extent ref tree.
Checking the snapshots.
Checking the APFS volume superblock.
Checking the object map.
Checking the fsroot tree.
Checking the snapshot metadata tree.
Checking the extent ref tree.
Checking the snapshots.
Checking the APFS volume superblock.
Checking the object map.
Checking the fsroot tree.
Checking the snapshot metadata tree.
Checking the extent ref tree.
Checking the snapshots.
Verifying allocated space.
The volume /dev/disk0s2 appears to be OK.
Storage system check exit code is 0.
Shrinking APFS Physical Store disk0s2 from 250,790,436,864 to
230,790,434,816 bytes
Shrinking APFS data structures
APFS Container Resize error code is 49153
A problem occurred while resizing APFS Container structures.
Operation failed…

I have added Macintosh HD to the list of files excluded in Time Machine preferences as well trying tmutil thinlocalsnapshots / 9999999999999999 in the terminal.

Any help is appreciated.

  • Hello Jeremy, welcome to Ask Different. What happens if you try to create a 20 GB APFS partition, does it work? The problem may not be related to formatting the partition to FAT... – jaume Oct 5 '18 at 12:23
  • Hello Jaume, I have not tried that as I am trying to get Linux parrot setup for a dual boot. All of the tutorials I can find use MS-DOT(FAT) as their partition format and I am not sure if the dual boot would work if the format of the partition is APFS... – Jeremy Fox Oct 5 '18 at 23:14
  • I understand you need FAT, but to troubleshoot this issue it is helpful to know if resizing works with another file system, for example APFS. If it did, you could then reformat that new partition as FAT. Do you have enough free disk space to create that 20 GB partition? – jaume Oct 6 '18 at 9:48
  • I tried making the APFS partition and it worked fine. – Jeremy Fox Oct 7 '18 at 0:06
  • Now, if you open Disk Utility, select the APFS container that contains the new partition and you click "Erase" on the toolbar, can you choose "MS-DOS (FAT)" in the Format pull-down menu? If that's the case, could you then press "Erase" and report back? – jaume Oct 7 '18 at 10:02
0

Try this workaround:

  1. Instead of creating a FAT partition, create a APFS partition of the desired size with Disk Utility.
  2. Select the APFS container that contains the new partition and click Erase on the toolbar:

    enter image description here

  3. Select MS-DOS (FAT) from the pull down menu, correct the name of the partition as necessary and press Erase:

    enter image description here

    This will replace the APFS container with a FAT partition.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .