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

Lost storage after removing boot camp partition

Hello,

I ran boot camp assistant to remove my windows partition (to reinstall windows 10) but after some seconds it showed me an error and told me to run first aid from disk utility. I did and there was no error in first aid analysis. now by running the diskutil in terminal I see a "free space" without identifier. I would be grateful if you help me to attach this free space to my main partition.


MacBook Pro 13″, macOS 11.1

Posted on Jan 24, 2021 9:31 AM

Reply
Question marked as Best reply

Posted on Jan 24, 2021 2:05 PM

We need to erase the three parts, using


diskutil eraseVolume jhfs+ BC1 disk0s3 (this may not work since your CS volume is offline).

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil eraseVolume jhfs+ BC3 disk0s5

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s5


This should merge the free space in disk0s3


At this point we can use either BC Assistant or diskutil to put all the space back in the APFS Container.

9 replies
Question marked as Best reply

Jan 24, 2021 2:05 PM in response to Ramin_jln

We need to erase the three parts, using


diskutil eraseVolume jhfs+ BC1 disk0s3 (this may not work since your CS volume is offline).

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil eraseVolume jhfs+ BC3 disk0s5

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s5


This should merge the free space in disk0s3


At this point we can use either BC Assistant or diskutil to put all the space back in the APFS Container.

Lost storage after removing boot camp partition

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