Fix: “An error occurred while partitioning the disk” in Boot Camp
Many Mac OS users try to install Windows 10 on their computer by using a tool called Boot Camp. Although running Windows 10 with Boot Camp is relatively simple, sometimes certain errors can occur. One error that users reported is An error occurred while partitioning the disk, and today we’re going to show you how to fix it.
But first, here are some more issues you can resolve with the same solutions as presented below:
- Boot Camp an error occurred while partitioning the disk High Sierra – Users have reported that this issue usually occurs in Mac OS High Sierra.
- Your disk could not be partitioned an error occurred while partitioning the disk – This is another partitioning disk error message you may encounter.
- Boot Camp partition error – You can resolve most Boot Camp partitioning errors with the following solutions.
“An error occurred while partitioning the disk”, how to fix it?
Table of contents:
Fix – “An error occurred while partitioning the disk”
Solution 1 – Turn off FileVault
FileVault is a useful feature that encrypts your hard drive and protects your data, but this feature can sometimes interfere with Boot Camp and cause this error to appear. To see if the FileVault is turned on, you need to go to Disk Utility and click on Macintosh HD. In the Properties you should see Format : Encrypted Mac OS Extended (Journaled).
To disable FileVault go to System Preferences > Security and Privacy > FileVault. Click the padlock and then disable FileVault. After disabling FileVault, you should be able to install Windows 10 by using Boot Camp without any problems.
Few users reported that FileVault was paused on their system and unable to resume for some unknown reason, therefore the only solution was to reinstall Mac OS.
Solution 2 – Repair your disk
Users reported that this error was caused by directory problems, but you should be able to fix these problems simply by repairing your disk. Before repairing your disk, we advise you to create a backup just in case anything goes wrong. After creating a backup, follow these steps:
- Launch Disk Utility by going to Applications > Utilities > Disk Utility.
- In the left-hand panel select your hard drive and click Verify Disk.
- Disk scan will start and check your disk. Wait for the scan to complete.
- If there are any reported errors, click the Repair Disk button.
- After repairing the disk, try to start Boot Camp again.
There’s one more way to do this. The following process is a bit more advanced, but you should be able to do it by following these steps:
- Start your Mac in Single User Mode. You can do that by holding Command + S during the boot process.
- When command line shows, enter /sbin/fsck -fy.
- Wait while the scan repairs your disk.
- After the process is completed, enter exit or reboot.
- After your Mac boots, go to Boot Camp and and try to install Windows 10 again.
If the issue still persists, we also recommend you to download this tool (100% safe and tested by us) to scan and fix various PC problems, such as hardware failure, malware and file loss.
As you can see, repairing your disk is simple, but before you do it, be sure to create a backup just in case. Users reported that second method fixed this issue for them, but if you’re not an advanced user, use the second method only if the first one doesn’t fix your problem.
Some users are also suggesting to boot to Recovery disk by holding Command + R during the boot. Now just select Disk Utility, select your hard drive and click on Repair Disk. After your disk is repaired, you should be able to install Windows 10 using Boot Camp.
We also recommend you to download this tool to fix various PC problems, such as hardware failure, malware and file loss.
Solution 3 – Restore your Mac from a backup
Several users are suggesting to restore your Mac from a backup and check if that fixes the problem. To do that, boot to the Recovery partition by pressing Command + R during the boot. After entering the Recovery partition, restore your Mac and check if the problem is resolved.
Solution 4 – Perform a complete reinstall
According to users, this problem can occur if your Apple_HFS partition is transformed to Logical Volume Group. If that’s the case, you’ll have to perform a complete reinstall. Before doing that, back up all your data and disconnect all external hard drives. After you did all that, follow these steps:
- Restart into Internet Recovery Mode by pressing Alt + Cmd + R. You can also access this mode by using bootable thumb drive.
- After entering Internet Recovery Mode start the Terminal.
- Enter diskutil cs list.
- Look for Logical Volume Group UUID. It should be represented by an array of numbers and letters that looks like this: 832B0A5F-2C8E-4AF1-81CF-6EDFDD326105. Keep in mind that this is just an example that we used, so be sure to use Logical Volume Group UUID from your Mac and not the one that we used in our example.
- Enter diskutil cs delete UUID. Be sure to replace UUID with the UUID that you got in Step 4. In our example, the command would look like this: diskutil cs delete 312C0A5B-AC3E-4008-895F-6EDFDD386825. This command will delete your CoreStorage volume and Recovery HD and reformat it as HFS+ volume.
- Close Terminal.
- Choose Disk Utility and partition the internal drive. Choose 1 Partition, Mac OS Extended (Journaled) and GUID partition table. Close Disk Utility.
- Choose the option to Reinstall Mac OS.
- Download the necessary updates and upgrade your system.
- Now start Boot Camp and try to install Windows 10 again.
This is a drastic solution that can take a while to complete, and you should use it only if other solutions are unable to fix this problem.
An error occurred while partitioning the disk is one of the common errors while installing Windows 10 using Boot Camp, but in most cases you should be able to fix it by starting your computer in Single User Mode and running /sbin/fsck -fy command. If that solution doesn’t work, feel free to try any other solution from this article.
Editor’s Note: This post was originally published in August 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.
- How to Install Windows 10 on iMac with BootCamp and VirtualBox
- How to Fix Bootcamp Problems With Windows 10
- You Can Now Install Windows 10 on Mac With Parallels Desktop 10
- How to Install Windows 8, Windows 10 on a Mac
- Fix: Can’t Install Windows 10 on VirtualBox
Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]
The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]
Microsoft released a new Windows 7 update to the general public. Update KB4457139 is actually a preview of the upcoming monthly rollup update and allows users […]