When I run Boot Camp Assistant, the attempted installation of Windows 10 fails, giving me the error "An error occurred while partitioning the disk." Have already tried First Aid on both my macOS boot volume and in recovery mode. Also tried /sbin/fsck -fy in single user mode. Both didn't work.

Here's the catch - when I make my own partition on my internal disk via Disk Utility (recovery mode and boot volume Disk Utility both have the same result) the partition will fail if I set the partition for over 15 GB. When I make a partition (not APFS container) that is 15 GB or less, Disk Utility will make it without problems. When I attempt to make a partition over 15 GB, the process will fail.

Now, A few days ago, I restored a Time Machine backup of my entire main internal drive via recovery mode and turns out that after that restore Macintosh HD reverted back to Mac OS Extended (Journaled) instead of APFS. After said restore and my internal disk being HFS, Boot Camp Assistant was fully successful in installing Windows 10. So I know that (hopefully) that process will work again if I want to install Boot Camp again. Since then, I deleted the BOOTCAMP partition and deleted Windows from my MacBook Pro (why I did that is a complicated story). I now want to re-install Windows 10.

However, I have an additional Time Machine backup of a clean High Sierra install which I restored to an additional APFS container on my internal disk just before writing this. When restored, this backup did not revert back to HFS after the restore, which in turn means bootcamp assistant/disk partitioning for 15 GB+ failed. I'm willing to restore the backup of my entire main drive from before all these shenanigans started in an attempt to get APFS to accept a partition, but I would like to know more options.

The main point - What are my other options to force APFS/High Sierra to accept a partition of greater than 15 GB and/or make Boot Camp Assistant actually go through with it's job. I’m open to all options to solve this problem. High Sierra has a lot of bugs in it and they're getting on my nerves. Apple needs to up their QC.

Anyways thanks to everyone for reading/helping me out - much appreciated :)

  • My first thought would be that you can not get more than 15 GB because that is all the free space available. Before a solution to your problem can be found, I would need you to post the output from the Terminal application commands diskutil list and diskutil apfs list. Most likely after you post the requested output, I will ask for additional command output. You can install Windows 10 without using the Boot Camp Assistant, but the procedure can be tedious. How much space did you want Windows 10 to have? Also, what is the model year of your MacBook Pro? – David Anderson Jan 7 at 19:03
  • @CaptInc37 Hi, welcome to Ask Different! Just a heads up, blanking out your question with "null, post removed" won't prevent anyone from reading it. People can see the edit history by just clicking the "edited x time ago" link at the bottom of the question. Why did you do this, anyway? (Unless you really need it gone for some reason, it's generally better to leave your question here so it can help other people out. And this looks like it was a good question, so I can't think why you'd want to delete it.) – SilverWolf Nov 24 at 22:37
  • If you want to remove your post, delete it. Don't edit it and say it was removed. That said, there's is a very accurate answer posted. What about it doesn't meet your needs? – Allan Nov 26 at 0:17

If your disk has been converted/formatted to use APFS, and you use Time Machine partitioning will typically fail because Time Machine made local APFS snapshots.

You can see the snapshots created with the command (use Terminal to enter it):

tmutil listlocalsnapshots /

If you see some, run the following command:

tmutil thinlocalsnapshots / 9999999999999

This last command will delete all the local snapshots.

Now run the Bootcamp assistant again, this time partitioning the disk should succeed.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.