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

Your Bootable USB drive Could Not Be Created

[Fixed] Your Bootable USB Cannot Be Created

This post shows why you can't create the bootable USB and how to fix the Your Bootable USB drive Could Not Be Created issue.

macOS Folders

macOS Folders: A Comprehensive Roundup

This post summarizes all the default folders that come with Mac when shipped and explores how to manage these folders in a well-organized manner. Also, we explains how to quickly access these folders.