Fix: “An error occurred while partitioning the disk” in Boot Camp

By: Milan Stanojevic
5 minute read

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool with Patended Technologies
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).

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:

  1. Turn off FileVault
  2. Repair your disk
  3. Restore your Mac from a backup
  4. Perform a complete reinstall

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:

  1. Launch Disk Utility by going to Applications > Utilities > Disk Utility.
  2. In the left-hand panel select your hard drive and click Verify Disk.
  3. Disk scan will start and check your disk. Wait for the scan to complete.
  4. If there are any reported errors, click the Repair Disk button.
  5. 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:

  1. Start your Mac in Single User Mode. You can do that by holding Command + S during the boot process.
  2. When command line shows, enter /sbin/fsck -fy.
  3. Wait while the scan repairs your disk.
  4. After the process is completed, enter exit or reboot.
  5. 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:

  1. Restart into Internet Recovery Mode by pressing Alt + Cmd + R. You can also access this mode by using bootable thumb drive.
  2. After entering Internet Recovery Mode start the Terminal.
  3. Enter diskutil cs list.
  4. 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.
  5. 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.
  6. Close Terminal.
  7. Choose Disk Utility and partition the internal drive. Choose 1 Partition, Mac OS Extended (Journaled) and GUID partition table. Close Disk Utility.
  8. Choose the option to Reinstall Mac OS.
  9. Download the necessary updates and upgrade your system.
  10. 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.

READ ALSO:

Next up

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

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 […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

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 […]

Continue Reading

Windows 7 KB4457139 makes it easier to upgrade to Windows 10

By: Madeleine Dean
2 minute read

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 […]

Continue Reading

Discussions