You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Unable to remove Bootcamp partition

Bootcamp assistant would not allow me to remove the partition I set up for windows. Then I mistakenly used disk utility to erase the drive. Obviously not what I should do. I ran diskutil list command in terminal and here is the result:

/dev/disk0 (internal):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                         251.0 GB   disk0


   1:                        EFI EFI                     314.6 MB   disk0s1


   2:                 Apple_APFS Container disk1         150.0 GB   disk0s2


   3:                  Apple_HFS BOOTCAMP                100.0 GB   disk0s3


   4:           Windows Recovery                         550.5 MB   disk0s4




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +150.0 GB   disk1


                                 Physical Store disk0s2


   1:                APFS Volume Macintosh HD            139.5 GB   disk1s1


   2:                APFS Volume Preboot                 43.4 MB    disk1s2


   3:                APFS Volume Recovery                517.0 MB   disk1s3


   4:                APFS Volume VM                      1.1 GB     disk1s4


can someone give me the correct commands to erase then merge my drive back to a single partition? thank you.


MacBook Pro 13", macOS 10.14

Posted on Dec 6, 2019 5:51 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 6, 2019 6:57 AM

Run


  • diskutil eraseVolume free free disk0s4
  • diskutil eraseVolume fat32 BOOTCAMP disk0s3


Run


BC Assistant and click on Remove/Restore.

Similar questions

3 replies

Unable to remove Bootcamp partition

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