Bootcamp "The startup disk cannot be partitioned or restored to a single partition" error.

Hi, all. I'm trying to remove Windows from my Mac to free up more space. However, when I try to remove it the conventional way (by using Boot Camp), I get an error that says "The startup disk cannot be partitioned or restored to a single partition." It goes on to say "The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows." I already tried erasing the disk and unmounting it in Disk Utility. Any help would be appreciated.

MacBook, macOS Sierra (10.12.5)

Posted on Jul 15, 2017 6:33 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 13, 2018 7:22 PM

philip99song wrote:


Hi LonerT,

I saw that you asked for people to put in the command.

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 251.0 GB
disk0

1: EFI EFI 314.6 MB
disk0s1

2: Apple_APFS Container disk1 202.0 GB
disk0s2

3: Microsoft Basic Data BOOTCAMP 8.0 GB disk0s3

4: Microsoft Basic Data BOOTCAMP 40.6 GB disk0s4

This should work in your case as well.


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 Restore/Remove.

532 replies

Dec 2, 2018 11:52 AM in response to Loner T

I am running Mojave and I am trying to remove the bootcamp partition as well. I thought i had followed all your advice but when I run BC Assistant I do not get the remove partition selection. It only says to install windows. Here is my diskutil list.


/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 150.0 GB
disk0s2

3: Apple_HFS BC1 100.1 GB
disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +150.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 60.8 GB disk1s1

2: APFS Volume Preboot 49.5 MB disk1s2

3: APFS Volume Recovery 512.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4


Any help is greatly appreciated.

Dec 8, 2018 7:13 AM in response to Loner T

/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         200.0 GB   disk0s2


   3:       Microsoft Basic Data BOOTCAMP                50.3 GB    disk0s3


   4:       Microsoft Basic Data BOOTCAMP                471.9 MB   disk0s4




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +200.0 GB   disk1


                                 Physical Store disk0s2


   1:                APFS Volume The Eleven              86.9 GB    disk1s1


   2:                APFS Volume Preboot                 43.5 MB    disk1s2


   3:                APFS Volume Recovery                512.8 MB   disk1s3


   4:                APFS Volume VM                      1.1 GB     disk1s4




/dev/disk2 (disk image):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:     Apple_partition_scheme                        +24.3 MB    disk2


   1:        Apple_partition_map                         32.3 KB    disk2s1


   2:                  Apple_HFS Flash Player            24.2 MB    disk2s2

Dec 8, 2018 8:49 AM in response to Loner T

/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         200.0 GB   disk0s2


   3:                  Apple_HFS BC1                     50.6 GB    disk0s3




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +200.0 GB   disk1


                                 Physical Store disk0s2


   1:                APFS Volume The Eleven              87.0 GB    disk1s1


   2:                APFS Volume Preboot                 43.5 MB    disk1s2


   3:                APFS Volume Recovery                512.8 MB   disk1s3


   4:                APFS Volume VM                      1.1 GB     disk1s4




/dev/disk2 (disk image):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:     Apple_partition_scheme                        +24.3 MB    disk2


   1:        Apple_partition_map                         32.3 KB    disk2s1


   2:                  Apple_HFS Flash Player            24.2 MB    disk2s2

Feb 4, 2019 7:20 AM in response to Loner T

MBP 2017, macOS HS 10.13.6 (17G5019).

Similar problem where I manually removed the BC partition for Windows (mistake) from the disk utility. Now I can’t reinstall Windows nor reclaim the partitioned space


$ diskutil list

/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 500.3 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Apple_APFS Container disk1 451.0 GB disk0s2

3: Windows Recovery 911.2 MB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +451.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 271.1 GB disk1s1

2: APFS Volume Preboot 20.8 MB disk1s2

3: APFS Volume Recovery 514.9 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4


$ diskutil cs list

No CoreStorage logical volume groups found


$ diskutil apfs list

APFS Container (1 found)

|

+-- Container disk1 22ABD4D5-A808-4DFC-9B53-35986E99B647

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

APFS Container Reference: disk1

Size (Capacity Ceiling): 451009290240 B (451.0 GB)

Minimum Size: 282851692544 B (282.9 GB)

Capacity In Use By Volumes: 273991561216 B (274.0 GB) (60.8% used)

Capacity Not Allocated: 177017729024 B (177.0 GB) (39.2% free)

|

+-< Physical Store disk0s2 1437BCC6-B396-47DD-9665-E969EA680BBD

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

| APFS Physical Store Disk: disk0s2

| Size: 451009290240 B (451.0 GB)

|

+-> Volume disk1s1 02E6062C-24F9-3635-8BB1-1D253F01E935

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

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

| Name: Macintosh HD (Case-insensitive)

| Mount Point: /

| Capacity Consumed: 271151403008 B (271.2 GB)

| FileVault: Yes (Unlocked)

|

+-> Volume disk1s2 FC60E3D1-C3A0-4E87-856B-E1766DF0A74C

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

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

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 20799488 B (20.8 MB)

| FileVault: No

|

+-> Volume disk1s3 42F95A6D-E8F9-449B-9DFF-EC0E21B1B8AD

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

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

| Name: Recovery (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 514945024 B (514.9 MB)

| FileVault: No

|

+-> Volume disk1s4 35917B15-9DB2-4A76-9E31-5A85B3070436

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

APFS Volume Disk (Role): disk1s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 2147504128 B (2.1 GB)

FileVault: No

Feb 9, 2019 9:12 AM in response to isopaite


  • Step 1


In your specific case, given the current state, try


diskutil eraseVolume jhfs+ BC3 disk0s3


diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s5

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.

Mar 13, 2019 8:07 PM in response to Loner T

Sure thing! Here you go –



APFS Containers (2 found)


|


+-- Container disk1 89390522-6C84-454E-AD07-B540C987BEFF


|   ====================================================


|   APFS Container Reference:     disk1


|   Size (Capacity Ceiling):      153999998976 B (154.0 GB)


|   Capacity In Use By Volumes:   85373341696 B (85.4 GB) (55.4% used)


|   Capacity Not Allocated:       68626657280 B (68.6 GB) (44.6% free)


|   |


|   +-< Physical Store disk0s2 B58F82C8-54B7-4A9C-A472-A200722D9E31


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


|   |   APFS Physical Store Disk:   disk0s2


|   |   Size:                       153999998976 B (154.0 GB)


|   |


|   +-> Volume disk1s1 31DF47AB-069F-4118-897C-A825E8159328


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


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


|   |   Name:                      Macintosh HD (Case-insensitive)


|   |   Mount Point:               /


|   |   Capacity Consumed:         79317340160 B (79.3 GB)


|   |   FileVault:                 Yes (Unlocked)


|   |


|   +-> Volume disk1s2 2A195B0C-DF8A-482E-9CC1-8C1138FDC362


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


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


|   |   Name:                      Preboot (Case-insensitive)


|   |   Mount Point:               Not Mounted


|   |   Capacity Consumed:         45047808 B (45.0 MB)


|   |   FileVault:                 No


|   |


|   +-> Volume disk1s3 2E5DBE1C-C851-4E9A-A9C9-DF76409C4068


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


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


|   |   Name:                      Recovery (Case-insensitive)


|   |   Mount Point:               Not Mounted


|   |   Capacity Consumed:         512770048 B (512.8 MB)


|   |   FileVault:                 No


|   |


|   +-> Volume disk1s4 C435BFAB-B7C3-4788-AE08-48574FED8900


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


|       APFS Volume Disk (Role):   disk1s4 (VM)


|       Name:                      VM (Case-insensitive)


|       Mount Point:               /private/var/vm


|       Capacity Consumed:         5368729600 B (5.4 GB)


|       FileVault:                 No (Encrypted at rest)


|


+-- Container disk2 102BF970-24B4-4C67-B76F-F0A47EA76FA9


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


    APFS Container Reference:     disk2


    Size (Capacity Ceiling):      88684802048 B (88.7 GB)


    Capacity In Use By Volumes:   123572224 B (123.6 MB) (0.1% used)


    Capacity Not Allocated:       88561229824 B (88.6 GB) (99.9% free)


    |


    +-< Physical Store disk0s4 5689A2BC-6270-4D0B-B078-A7F374DA2920


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


    |   APFS Physical Store Disk:   disk0s4


    |   Size:                       88684802048 B (88.7 GB)


    |


    +-> Volume disk2s1 A56CB98D-CDBA-4A9B-A168-6E8BA788A050


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


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


        Name:                      BOOTCAMP (Case-insensitive)


        Mount Point:               Not Mounted


        Capacity Consumed:         798720 B (798.7 KB)


        FileVault:                 No (Encrypted at rest)

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.

Bootcamp "The startup disk cannot be partitioned or restored to a single partition" error.

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