macOS 10.13: Windows 10 installation with Boot Camp

I tried to install Windows 10 via Boot Camp, but got stuck at the creating a new partition part. The error states:

An error occurred while partitioning the disk. Please run disk utility to check and fix the error.

Here's what I did:

  • Run first aid on my internal drive
  • Decrypted the internal drive
  • Start in Cmd + S mode and run the /sbin/fsck -fy command
  • Reinstall Mac OS High Sierra

After all this, I still get the same partitioning error as before.

How can I install Windows 10 properly with Boot Camp?


Solution 1:

This question is possibly related to Disk Could Not Be Partitioned - First Aid not helping — I'm duplicating my answer here.

I had very similar problem. After contacting Apple Support and following their instructions, I've reinstalled macos (instructions here). This is not a wipeout reinstall, but do make a backup.

After the reinstall partitioning worked like a charm.

And so do Bootcamp installation.

Solution 2:

There is likely an error that Apple's disk utility can't cope with. There are few options.

  1. Third party disk repair utility, but are there any that are compatible with High Sierra and APFS. Not sure/don't think so.
  2. Verify you have a good backup, boot into recovery mode and repartition the drive, which should fix the errors assuming they are soft errors and not hardware errors.

Number 2 has the benefit (?!) of allowing you to set a partition size for your Mac volume and leaving the rest unformatted and ready for Win 10.