Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

An error occurred while partitioning the disk

Hi there. I am receiving the error "An error occurred while partitioning the disk" while trying to install Win10 (downloaded from the Microsoft website) via bootcamp.

I had this exact problem before, however eventually while troubleshooting a hundred times it just "worked" (nothing specific I did seemed to have caused this as I ran through the troubleshooting steps I was given in the thread I made that time, and after doing it a hundred times it worked.. ha)

I deleted my BC partition because I needed to make it larger and reinstall Windows, and once again I have been given this error while it attempts to partition.

I have run disc utility (all good), gone through Single User Mode and went through /sbin/fsck -fy ... all that.

This is my initial thread, the last time this exact problem happened: "An error occurred while partitioning the disk. Please run Disk Utility to check and fix the error."

I've been at this for days again to no avail.




Output of diskutil list:


/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 500.3 GB
disk0

1: EFI EFI 314.6 MB
disk0s1

2: Apple_APFS Container disk1 500.0 GB
disk0s2


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +500.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Death Star 379.6 GB
disk1s1

2: APFS Volume Preboot 19.7 MB disk1s2

3: APFS Volume Recovery 509.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Output of diskutil apfs list

MacBook-Pro:~ lizziemiller$ /dev/disk1 (synthesized):

-bash: syntax error near unexpected token `synthesized'

MacBook-Pro:~ lizziemiller$ #: TYPE NAME SIZE IDENTIFIER

MacBook-Pro:~ lizziemiller$ 0: APFS Container Scheme - +500.0 GB
disk1

-bash: 0:: command not found

MacBook-Pro:~ lizziemiller$ Physical Store disk0s2

-bash: Physical: command not found

MacBook-Pro:~ lizziemiller$ 1: APFS Volume Death Star 379.6 GB
disk1s1

-bash: 1:: command not found

MacBook-Pro:~ lizziemiller$ 2: APFS Volume Preboot 19.7 MB disk1s2

-bash: 2:: command not found

MacBook-Pro:~ lizziemiller$ 3: APFS Volume Recovery 509.8 MB
disk1s3

-bash: 3:: command not found

MacBook-Pro:~ lizziemiller$ 4: APFS Volume VM 1.1 GB disk1s4

Any thoughts? Much appreciated.


User uploaded file

MacBook Pro, macOS High Sierra (10.13.3), null

Posted on Mar 15, 2018 5:51 PM

Reply

Similar questions

11 replies

Mar 16, 2018 7:34 PM in response to Loner T

Getting an error here too..


User uploaded file


Running operation 1 of 2: Add “Win” by splitting “Death Star”…

Resizing APFS Container designated by APFS Container Reference disk1

Verifying storage system

Using live mode.

Performing fsck_apfs -n -x -l /dev/disk0s2

Checking volume.

Checking the container superblock.

Checking the EFI jumpstart record.

Checking the space manager.

Checking the object map.

Checking the APFS volume superblock.

Checking the object map.

Checking the fsroot tree.

Checking the snapshot metadata tree.

Checking the extent ref tree.

Checking the snapshots.

Checking snapshot 1 of 6.

Checking snapshot 2 of 6.

Checking snapshot 3 of 6.

Checking snapshot 4 of 6.

Checking snapshot 5 of 6.

Checking snapshot 6 of 6.

Checking the APFS volume superblock.

Checking the object map.

Checking the fsroot tree.

Checking the snapshot metadata tree.

Checking the extent ref tree.

Checking the snapshots.

Checking the APFS volume superblock.

Checking the object map.

Checking the fsroot tree.

Checking the snapshot metadata tree.

Checking the extent ref tree.

Checking the snapshots.

Checking the APFS volume superblock.

Checking the object map.

Checking the fsroot tree.

Checking the snapshot metadata tree.

Checking the extent ref tree.

Checking the snapshots.

Verifying allocated space.

warning: Overallocation Detected on Main device: (2322224+1) bitmap address (87014)

The volume /dev/disk0s2 appears to be OK.

Storage system check exit code is 0.

Shrinking APFS Physical Store disk0s2 from 499,963,170,816 to 409,498,066,944 bytes

Shrinking APFS data structures

APFS Container Resize error code is 49153

A problem occurred while resizing APFS Container structures.

Operation failed…

Mar 16, 2018 10:31 AM in response to Loner T

MacBook-Pro:~ lizziemiller$ sudo tmutil listlocalsnapshots /

Password:

com.apple.TimeMachine.2018-03-15-151415

com.apple.TimeMachine.2018-03-15-211124

com.apple.TimeMachine.2018-03-16-012719

com.apple.TimeMachine.2018-03-16-022734

com.apple.TimeMachine.2018-03-16-032640

com.apple.TimeMachine.2018-03-16-042649

com.apple.TimeMachine.2018-03-16-052739

com.apple.TimeMachine.2018-03-16-062739

com.apple.TimeMachine.2018-03-16-072649

com.apple.TimeMachine.2018-03-16-082740

com.apple.TimeMachine.2018-03-16-092636

com.apple.TimeMachine.2018-03-16-102647

com.apple.TimeMachine.2018-03-16-113118

com.apple.TimeMachine.2018-03-16-122636

com.apple.TimeMachine.2018-03-16-133132

com.apple.TimeMachine.2018-03-16-142849

com.apple.TimeMachine.2018-03-16-162623

com.apple.TimeMachine.2018-03-16-172802

com.apple.TimeMachine.2018-03-16-183120

com.apple.TimeMachine.2018-03-16-192931

com.apple.TimeMachine.2018-03-16-203724

An error occurred while partitioning the disk

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.