Deleting Bootcamp via Disk Utility or Terminal

Good morning,

I need to delete my Bootcamp partition, on Mojave OS. I read that I should do run a diskutil command and then delete it using terminal again: can someone please help me? I have been stuck for quite a while.

Thanks a lot.

Larry

iMac, Mac OS X (10.6.8)

Posted on Nov 8, 2018 2:29 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 8, 2018 4:04 AM

Do not use Disk Utility to remove a BC Assistant created partition. Run BCA, and click on Remove/Restore to get the Windows disk space merged back into macOS Container.

10 replies

Nov 8, 2018 4:20 AM in response to lorenzop

BC Assistant does not like WinRE and will not clean up. In your specific case, try


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

diskutil list


If you only see disk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and run BCA and click on Restore/Remove.

Nov 8, 2018 9:24 PM in response to lorenzop

Hi Loner T,

I tried the steps you suggested: the first step (diskutil eraseVolume jhfs+ BC1 disk0s3) was ok, then I tried the second (diskutil eraseVolume jhfs+ BC2 disk0s4) and I got the error you can see in the screenshot.

I didn't key in the following steps.

Instead, I opened Bootcamp Assistant and I got the message you can see in the second screenshot. I exited Bootcamp Assistant without doing anything else.


I checked an open Finder window: as I knew, I have about 74 GB available on the hard disk (flash, in fact).

I checked System Preferences: the startup disk is the Mac. In fact, the Bootcamp with Windows is not there anymore.

I left System preferences without doing anything else.


I checked Disk Utility (the app on my MacBook Pro) and I got the screenshot you can see.

In fact, on my desktop the icon of the hard disk that used to say Bootcamp, now reads BC1, as per screenshot.


I have no idea what's going on...I hope you do 🙂

Thanks a lot for your help, if you have time please tell me what to do next.

Larry

User uploaded fileUser uploaded fileUser uploaded fileUser uploaded fileUser uploaded fileUser uploaded file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Deleting Bootcamp via Disk Utility or Terminal

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