When attempting to create a Windows partition, Boot Camp Assistant might show the alert ”Your disk could not be partitioned. An error occurred while partitioning the disk. Please run First Aid from within Disk Utility to check and fix the error.”
Use Disk Utility to check for errors
Check for unallocated free space
- Open Disk Utility, which is in the Utilities folder of your Applications folder.
- In the Disk Utility sidebar, select the name of your internal disk, container, or volume, such as Macintosh HD.
- Click Partition in the toolbar.
- If you see a message about Apple File System space sharing, click Partition to confirm that you want to partition instead of add a volume.
- If the pie chart shows a section labeled ”Free space,” click to select it. ”Free space” should now also appear in the Partition Information shown on the right.
- After selecting the ”Free space” section of the chart, click the remove (–) button beneath the chart. Removing this unallocated free space makes that space available for your use again. Then click Apply and quit Disk Utility.
- Try again to use Boot Camp Assistant to install Windows.
- If Boot Camp Assistant still gives the same partitioning error, continue to the steps below.
Turn off Time Machine temporarily
- Open Time Machine preferences from the Time Machine menu in the menu bar. Or choose Apple menu > System Preferences, then click Time Machine.
- Deselect ”Back Up Automatically” to turn off Time Machine.
- Wait a few minutes, then try again to use Boot Camp Assistant to install Windows.
- After installation is complete, you can turn on Time Machine again.