Apple Event: May 7th at 7 am PT

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

Removing windows partition

Hello,

I intended to install windows on my mac through Bootcamp but it didn't work out. So I Wanted to remove the 45GB partition that I created for Windows But disk utility won't allow me (doesn't show "-" button)

User uploaded file

(I missed around with it and erase with several formats but it didn't work.)

Here is the terminal result of the diskunit list:

User uploaded file

Before this, I only had my main partition on my mac, but now I feel like several partitions added to my mac (like disk0s4 and disk0s5 in the first picture I've posted).


Can you help me remove the windows partition and if there is any extra partition help me remove that as well?

Thanks!

Posted on Jul 5, 2018 1:07 AM

Reply
Question marked as Best reply

Posted on Jul 5, 2018 6:46 AM

If you have any external storage connected, the current layout is the result of such connected devices.


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil eraseVolume jhfs+ BC3 disk0s5

diskutil eraseVolume jhfs+ BC4 disk0s6

diskutil eraseVolume jhfs+ BC5 disk0s7

diskutil eraseVolume jhfs+ BC6 disk0s8

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s8

diskutil list


If you only see disk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and run BCA and click on Restore/Remove.


Run SMC/NVRAM Reset once you cleanup, before you try to install Windows again.

9 replies
Question marked as Best reply

Jul 5, 2018 6:46 AM in response to mvakilia

If you have any external storage connected, the current layout is the result of such connected devices.


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil eraseVolume jhfs+ BC3 disk0s5

diskutil eraseVolume jhfs+ BC4 disk0s6

diskutil eraseVolume jhfs+ BC5 disk0s7

diskutil eraseVolume jhfs+ BC6 disk0s8

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s8

diskutil list


If you only see disk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and run BCA and click on Restore/Remove.


Run SMC/NVRAM Reset once you cleanup, before you try to install Windows again.

Jul 5, 2018 9:35 AM in response to Loner T

also having a problem with this.


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB
disk0

1: EFI EFI 209.7 MB
disk0s1

2: Apple_APFS Container disk1 190.7 GB
disk0s2

3: Apple_KernelCoreDump 9.3 GB disk0s3

4: Apple_HFS BC1 50.0 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +190.7 GB
disk1

Physical Store disk0s2

1: APFS Volume OSX 169.0 GB
disk1s1

2: APFS Volume Preboot 31.0 MB disk1s2

3: APFS Volume Recovery 509.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Jul 5, 2018 1:54 PM in response to mercNstein

mercNstein wrote:


also having a problem with this.


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB
disk0

1: EFI EFI 209.7 MB
disk0s1

2: Apple_APFS Container disk1 190.7 GB
disk0s2

3: Apple_KernelCoreDump 9.3 GB disk0s3

4: Apple_HFS BC1 50.0 GB disk0s4

Are you running a beta version of macOS? Please switch to a released version, then we can clean up.

Removing windows partition

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