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.

How can I remove this partition?

I recently tried installing windows through Boot Camp but gave up a little ways through after seeing how much space it was going to take up. I never got to finish setting up windows but I did get it to the point where it asked me which drive I wanted it on . When I restarted my computer I went to bootcamp to remove the windows partition and got the message:

User uploaded file

It seems 2 new partitions were made along with the new windows one: Windows Recovery (472 MB), Windows Reserved (16.8 MB)

User uploaded file

I have tried:

1. Going to disk utility and simply removing the second partition. The "-" is grayed out when I select the new partition and there is a message underneath the partition information saying "You can not remove this volume because the previous volume can not be resized."

2. Erasing the volume in recovery mode. I erased it and reformatted it as Mac OS Extended (Journaled) but still couldn't remove it through disk utility after restarting.


How can I go back to having one single volume? I am open to any options (including resetting everything on my macbook to factory settings if it will return it to a single volume). I do have Time Machine setup with recent backups of my drive. Thank you!!


[I am running macOS Sierrra 10.12.2 Beta on a 13 inch Macbook Pro (Retina mid-2014 model), 3GHz Intel Core i7, 256GB Flash Storage, 16GB of memory (just in case any of this helps)]

MacBook Pro with Retina display, OS X Yosemite (10.10.5)

Posted on Dec 12, 2016 12:22 PM

Reply
56 replies

Nov 20, 2017 6:13 AM in response to Loner T

Hi, excuse me to intrude, i was wondering if this would work for me. I have windows installed in my mac, and wanted to remove it, but i keep getting this message:

User uploaded file

When i looked it up i have a partition in my disk that's named disk0s4 and it's sized exactly 471.9mb. The "-"option is greyed out on disk utility and i just want the whole thing to be gone.

Mar 5, 2018 5:32 AM in response to 3781637

3781637 wrote:


Hello,

I'm guessing you must be tired of answering this question about merging the partitioned drive, but can you help one more?


User uploaded file

Run


diskutil eraseVolume jhfs+ BC1 disk0s4

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4


If you see only disk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and run BCA to Remove/Restore.

Mar 5, 2018 11:57 AM in response to Loner T

Hello,

Thank you for the help. Unfortunately I spent hours and hours yesterday trying to fix this issue and changes were made prior to your advice (mistakes were made). Can you please take look at my new configuration and let me know how to fix it? (I will not attempt to fix this, or change anything, until hearing from you this time). Thank you so much.

User uploaded fileUser uploaded file

Mar 5, 2018 3:06 PM in response to 3781637

Run


diskutil apfs deleteVolume 13FDB0EA-ECA5-4915-94F4-3F905004E970

diskutil apfs deleteContainer F4D9101C-EF8A-4436-89B4-60C4A0CEEB10

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil mergePartitions hfs+ BCMP disk0s3 disk0s4

diskutil list


If you do not see


  • any errors, and,
  • see only disk0s3, but not disk0s4, then run


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and now run BCA and click on Remove/Restore. Post the output of the terminal session, if you see any errors.

Jan 6, 2018 7:21 PM in response to AustinClarke

Have you tried to install Windows multiple times and failed more than once? That layout implies related failures. Do not run any of the eraseVolume commands more than once.


diskutil eraseVolume jhfs+ BC1 disk0s4

diskutil eraseVolume jhfs+ BC2 disk0s5

diskutil eraseVolume jhfs+ BC3 disk0s6

diskutil eraseVolume jhfs+ BC4 disk0s7


diskutil eraseVolume jhfs+ BC5 disk0s8

diskutil eraseVolume jhfs+ BC6 disk0s9

diskutil eraseVolume jhfs+ BC7 disk0s10

diskutil eraseVolume jhfs+ BC8 disk0s11


diskutil eraseVolume jhfs+ BC9 disk0s12

diskutil eraseVolume jhfs+ BC10 disk0s13

diskutil mergePartitions jhfs+ BCMP disk0s4 disk0s13

diskutil list


If you only see disk0s4, then


diskutil eraseVolume fat32 BOOTCAMP disk0s4


and now run BC Assistant and click on Remove/Restore.


Run SMC and NVRAM Reset after this, before you attempt installation of Windows again.

Jan 7, 2018 7:31 AM in response to AustinClarke

AustinClarke wrote:


I had tried more than once.

Every instance of "EFI NO NAME" is one failed attempt.

AustinClarke wrote:


I am unsure what you mean by only seeing diskj0s4. After running all of those commands I get this:

Out of disk0s4-disk0s13, since we merged partitions, the only one left should be disk0s4 with all the disk space.


AustinClarke wrote:


Do I need to do the the "diskutil eraseVolume fat32 BOOTCAMP disk0s4"?

Yes, otherwise BC Assistant will not remove and merge it back into the main macOS partition.

Jan 28, 2018 3:44 PM in response to fernandogrocha

You should disconnect all external storage when installing Windows, unless BC Assistant prompts you to connect one. The current layout issue is due to the external disk connected. Also, run SMC and NVRAM reset after any errors, before you next attempt.


diskutil eraseVolume jhfs+ BC1 disk0s4

diskutil eraseVolume jhfs+ BC2 disk0s5

diskutil eraseVolume jhfs+ BC3 disk0s6

diskutil eraseVolume jhfs+ BC4 disk0s7

diskutil eraseVolume jhfs+ BC5 disk0s8

diskutil eraseVolume jhfs+ BC6 disk0s9

diskutil eraseVolume jhfs+ BC7 disk0s10

diskutil eraseVolume jhfs+ BC8 disk0s11

diskutil eraseVolume jhfs+ BC9 disk0s12

diskutil eraseVolume jhfs+ BC10 disk0s13

diskutil eraseVolume jhfs+ BC11 disk0s14

diskutil eraseVolume jhfs+ BC12 disk0s15

diskutil eraseVolume jhfs+ BC13 disk0s16


diskutil mergePartitions jhfs+ BCMP disk0s4 disk0s16

diskutil list


If you see only disk0s4, then


diskutil eraseVolume fat32 BOOTCAMP disk0s4


and then use BC Assistant and click on Restore/Remove.

Feb 27, 2018 2:07 AM in response to Loner T

Help! I accidentally cancelled in the middle of Bootcamp downloading my windows file and I cannot delete the partition now. It will not allow me to re-open bootcamp or use disk utility to delete. Any help you could provide would be absolutely amazing, it took me just over an hour to even find this post! I can post any screenshots you need, just let me know!

Feb 27, 2018 2:35 AM in response to fdurant

Run (only once).


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 now run BC Assistant and click on Remove/Restore.


Run SMC and NVRAM Reset after this, before you attempt installation of Windows again.

Mar 4, 2018 1:33 AM in response to SpaghettiEddy

Jeremys-iMac:~ jeremylim$ diskutil list

/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 28.0 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Apple_CoreStorage Macintosh HD 27.6 GB disk0s2

3: Apple_Boot Boot OS X 134.2 MB disk0s3


/dev/disk1 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_CoreStorage Macintosh HD 597.4 GB disk1s2

3: Microsoft Basic Data BOOTCAMP 402.5 GB disk1s3


/dev/disk2 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +624.0 GB disk2

Logical Volume on disk0s2, disk1s2

22B877A4-53D9-4F9E-A933-AA4130E83EAE

Unencrypted Fusion Drive


Hi Loner T, I've followed your steps until "diskutil eraseVolume fat32 BOOTCAMP disk0s3" but strangely, the BOOTCAMP switched to /dev/disk1 from /dev/disk0. When I run bootcamp assistant, it still says "The startup disk cannot be partitioned or restored to a single partition."


Any insight?

Mar 4, 2018 4:10 AM in response to jeremylbt

Do you have a diskutil list output before you merged/deleted any changes? You have a Fusion drive, which has two underlying physical drives. Your current output is missing the Recovery HD on the HDD part of the Fusion drive. If you intentionally merged Recovery HD and Bootcamp, it is not a good thing to do.


Do you have a Time Machine backup?

Mar 4, 2018 4:37 AM in response to Loner T

I do not have the output before I merge. However I rem my disk0 contains two partitions of "recovery HD" which is why I tried to merge one of the "recovery HD" partition to the bootcamp. However after merging both "recovry HD" went missing. I ma have screwed up somewhere.


After merging, I tried to run bootcamp assistant but with error message. Got fed up and use disk utility to remove the bootcamp partition. Now my bootcamp assistant can proceed but now I ended up with missing 400GB of disk space which I previously use for the bootcamp partition.


Please advise my next step. How can I recover my missing disk space?


Thank you very much.

How can I remove this partition?

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