I'm running macOS High Sierra 10.13.3 and I want to install Windows 10 with Bootcamp. But it always fails when creating the partition and I cannot for the life of me get past it.
It says: "Your disk could not be partitioned. An error occurred while partitioning the disk. Please run Disk Utility to check and fix the error."
I've tried:
- Running First Aid from Disk Utility
- Try to partition manually with Disk Utility, same failure
- Decrypting my disk
- Restarting in Single
User Mode and running "/sbin/fsck -fy" - sudo tmutil thinlocalsnapshots / 9999999999999999
Nothing has worked. Any ideas, please?
Here is my diskutil output.
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 500.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +500.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 251.4 GB disk1s1
2: APFS Volume Preboot 22.3 MB disk1s2
3: APFS Volume Recovery 509.8 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: CCCOMA_X64FRE_EN-US... +4.7 GB disk2
And diskutil apfs list:
diskutil apfs list
APFS Container (1 found)
|
+-- Container disk1 6D0381A1-68AF-4E33-A6D3-ECDB285D9F04
====================================================
APFS Container Reference: disk1
Capacity Ceiling (Size): 500068036608 B (500.1 GB)
Capacity In Use By Volumes: 252932173824 B (252.9 GB) (50.6% used)
Capacity Available: 247135862784 B (247.1 GB) (49.4% free)
|
+-< Physical Store disk0s2 AC53B293-957E-4004-8ABC-7E2104DB9762
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 500068036608 B (500.1 GB)
|
+-> Volume disk1s1 AFAF63F4-73FF-3CCF-80D9-AD3ACBDC0DDC
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (No specific role)
| Name: Macintosh HD (Case-insensitive)
| Mount Point: /
| Capacity Consumed: 251164803072 B (251.2 GB)
| FileVault: No
|
+-> Volume disk1s2 FF92EB09-8D74-4029-9C2C-CC60961C02A9
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 22347776 B (22.3 MB)
| FileVault: No
|
+-> Volume disk1s3 DFEF113D-100A-44AA-B892-C58C18D93F34
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 509820928 B (509.8 MB)
| FileVault: No
|
+-> Volume disk1s4 A8C5EAE5-BBB9-424D-8975-CA54DE4CCBB1
---------------------------------------------------
APFS Volume Disk (Role): disk1s4 (VM)
Name: VM (Case-insensitive)
Mount Point: /private/var/vm
Capacity Consumed: 1073762304 B (1.1 GB)
FileVault: No
Best Answer
Many users have posted problems similar to yours. In every case, APFS in involved.
Below are the instructions for installing Windows 10.
(In your case, you can skip this step.) Remove all Windows related partitions that may have been created by previous attempts to install Windows. When finished, the output from the command
diskutil list disk0
should appear similar to what is shown below. Other users should assume their sizes will be different.The command below will create the 150 GB "BOOTCAMP" partition on your internal drive. If you want a different size, then make the appropriate subsitutions. The space occupied by this partition will be used for installing Windows.
Use the Disk Utility application to erase a 16 GB or larger USB flash drive. Enter the settings shown below in the popup window. When finished, do not remove the flash drive.
Use the Boot Camp Assistant to download the Window Support Software. Look for the "Action" pulldown on the Boot Camp Assistant menu bar. On my Mac, these files were downloaded to the
~/WindowsSupport
directory.Mount the Windows iso file and copy the contents to the "WINSTALL" volume. You will need the use the
cp
command from a Terminal application window. Below is the exact command I usually use. The stringESD-ISO
is the name of the mounted ISO file from Microsoft. If necessary, make the appropriate modifications.Copy the Windows Support Software to the "WINSTALL" volume. Below is the exact command I usually use. If necessary, make the appropriate modifications.
Continue starting at step 3 of my answer to the question Boot Camp Assistance is stuck on create a partition?