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

Merging a partition.

I've used Bootcamp to create a windows partition on my MacBook Pro (Retina, 13-inch, Early 2015). This has been working for a long time, and never stoped working. But because I started to use windows less and less I decided to delete the partition and put the available space back into the main drive, merging the drives for MacOS. This turend out to be more difficult than it should be. Bootcamp assistand manager did not help, so I looked on forums and tried to do a bunch of stuff with TERMINAL. This was all in vain and im not sure how to continue from now on. See the pictures & information below.


Software : macOS Mojave Version 10.14 (18A391)


For questions do not hesitate to contact me!


-Sem


Macbook (2015 or later)

Posted on Jan 11, 2019 1:13 PM

Reply
Question marked as Best reply

Posted on Jan 11, 2019 1:50 PM

Can you disconnect/eject the SD card? Once it has been ejected, run


  • Step 1


In your specific case, given the current state, try


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4


diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

diskutil list


  • Step 2


If you see only disk0s3 as the last entry under disk0, then run


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and retry removing the partition using BC Assistant only.

Similar questions

11 replies
Question marked as Best reply

Jan 11, 2019 1:50 PM in response to Semvdl

Can you disconnect/eject the SD card? Once it has been ejected, run


  • Step 1


In your specific case, given the current state, try


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4


diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

diskutil list


  • Step 2


If you see only disk0s3 as the last entry under disk0, then run


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and retry removing the partition using BC Assistant only.

Jan 11, 2019 1:14 PM in response to Semvdl

__________________________________________________________________



diskutil list


/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *500.3 GB   disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:                 Apple_APFS Container disk2         411.0 GB   disk0s2


   3:         Microsoft Reserved                         16.8 MB    disk0s3


   4:       Microsoft Basic Data BOOTCAMP                88.9 GB    disk0s4




/dev/disk2 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +411.0 GB   disk2


                                 Physical Store disk0s2


   1:                APFS Volume Macintosh HD            381.7 GB   disk2s1


   2:                APFS Volume Preboot                 45.3 MB    disk2s2


   3:                APFS Volume Recovery                512.5 MB   disk2s3


   4:                APFS Volume VM                      1.1 GB     disk2s4




/dev/disk3 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:     FDisk_partition_scheme                        *128.6 GB   disk3


   1:               Windows_NTFS Sem's SD                128.6 GB   disk3s1


-Sem

Jan 11, 2019 1:15 PM in response to Semvdl

diskutil apfs list


APFS Container (1 found)


|


+-- Container disk2 D0397184-5C65-4ADE-98B0-59C91896A141


    ====================================================


    APFS Container Reference:     disk2


    Size (Capacity Ceiling):      411013459968 B (411.0 GB)


    Capacity In Use By Volumes:   383506669568 B (383.5 GB) (93.3% used)


    Capacity Not Allocated:       27506790400 B (27.5 GB) (6.7% free)


    |


    +-< Physical Store disk0s2 6D78DA9B-7229-4D9A-A99F-E78650B340D5


    |   -----------------------------------------------------------


    |   APFS Physical Store Disk:   disk0s2


    |   Size:                       411013459968 B (411.0 GB)


    |


    +-> Volume disk2s1 42F98A59-9B5C-381F-84C4-DA170340E5B1


    |   ---------------------------------------------------


    |   APFS Volume Disk (Role):   disk2s1 (No specific role)


    |   Name:                      Macintosh HD (Case-insensitive)


    |   Mount Point:               /


    |   Capacity Consumed:         381721866240 B (381.7 GB)


    |   FileVault:                 Yes (Unlocked)


    |


    +-> Volume disk2s2 1E240CE6-D511-40B5-A6CD-8625F46FC4D6


    |   ---------------------------------------------------


    |   APFS Volume Disk (Role):   disk2s2 (Preboot)


    |   Name:                      Preboot (Case-insensitive)


    |   Mount Point:               Not Mounted


    |   Capacity Consumed:         45322240 B (45.3 MB)


    |   FileVault:                 No


    |


    +-> Volume disk2s3 BBD76675-E57B-4C99-A15E-BC78449B3A8A


    |   ---------------------------------------------------


    |   APFS Volume Disk (Role):   disk2s3 (Recovery)


    |   Name:                      Recovery (Case-insensitive)


    |   Mount Point:               Not Mounted


    |   Capacity Consumed:         512466944 B (512.5 MB)


    |   FileVault:                 No


    |


    +-> Volume disk2s4 98D72DD1-F6E3-4942-92F6-3FDCA8707752


        ---------------------------------------------------


        APFS Volume Disk (Role):   disk2s4 (VM)


        Name:                      VM (Case-insensitive)


        Mount Point:               /private/var/vm


        Capacity Consumed:         1073762304 B (1.1 GB)


        FileVault:                 No





-Sem

Jan 11, 2019 2:21 PM in response to Loner T

This is what I see:


Finished partitioning on disk0


/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *500.3 GB   disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:                 Apple_APFS Container disk2         411.0 GB   disk0s2


   3:                  Apple_HFS BC1                     88.9 GB    disk0s3


sems-mbp-3:~ Semvdl$ diskutil list


/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *500.3 GB   disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:                 Apple_APFS Container disk2         411.0 GB   disk0s2


   3:                  Apple_HFS BC1                     88.9 GB    disk0s3




/dev/disk2 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +411.0 GB   disk2


                                 Physical Store disk0s2


   1:                APFS Volume Macintosh HD            382.3 GB   disk2s1


   2:                APFS Volume Preboot                 45.3 MB    disk2s2


   3:                APFS Volume Recovery                512.5 MB   disk2s3


   4:                APFS Volume VM                      1.1 GB     disk2s4



Merging a partition.

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