Home > Questions

Cannot re-allocate free space to the main disk

In my Mac's Boot Camp partition, to have more space on my main disk container. I minimize the Boot Camp partition using Disk Utility, when I try the corresponding command in Terminal to resize the container, something went wrong there, the free space in it cannot be reallocated to the main disk, what should I do?

Best Answered by

iBoysoft author Yuri Zhang

Yuri Zhang

Answered on Tuesday, August 5, 2025

Considering the potential data loss risk, it's crucial to proceed with caution.

 Here's a summarized approach:

  1. Backup your Important Data first: If possible, connect your HDD to another Mac or use a bootable macOS USB drive to access your data and create backups. 
  2.  

Then try using Disk Utility in Recovery Mode. Select the disk, and attempt to repair or mount the APFS container or its volumes. If Disk Utility fails, you might need to use Terminal commands like “diskutil” to repair the APFS container or volumes. Be cautious with these commands as they can irreversibly damage data if not used correctly.

All in all, it is recommended to use iBoysoft DiskGeeker, it is experienced and well-versed in disk recovery and backing up your APFS volume, which is safer and easier to operate.

iBoysoft DiskGeeker

  • Check and diagnose disk errors including no allocation
  • Map network drives with different protocols
  • Back up files on APFS volumes (Macintosh HD) 

 Read-only & risk-free

 
  1. If the above steps don't resolve the issue, consider seeking professional help from Apple Support or a data recovery specialist.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

macOS Tahoe ISO download

macOS Tahoe Beta ISO Download for VMware or VirtualBox

Here's the link to download macOS Tahoe 26 beta ISO file for VMware or VirtualBox and steps to create a macOS Tahoe ISO file yourself.

how to read ext4 on macOS

How to Mount, Read, Write, Format Ext4 on Mac?

This post introduces ways to mount ext4 on Mac with the Intel, T2, M1, M2, M3, and M4 chip in read or read/write access, as well as steps to format ext4 on Mac.