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 Wednesday, November 26, 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

unable to create a new folder on external hard drive on Mac

Fixed: Unable to Create New Folders on External Drive on Mac

Guide to fix the trouble that you are unable to create a new folder on external hard drive on Mac and explain the reasons.

Apple Diagnostics on Mac

Apple Diagnostics: The Hidden Trick to Check Your Mac

Apple Diagnostics: Read to know what Apple Diagnostics on Mac is and how to run Apple hardware diagnostics on your Mac.