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

Nov 29, 2017 1:27 PM in response to Loner T

/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 disk1 400.0 GB disk0s2

3: Microsoft Basic Data BOOTCAMP 99.6 GB disk0s3

4: Microsoft Basic Data BOOTCAMP 471.9 MB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +400.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 235.0 GB disk1s1

2: APFS Volume Preboot 22.3 MB disk1s2

3: APFS Volume Recovery 520.8 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Jan 9, 2018 1:53 AM in response to edhiputra

Do not run the following commands more than once.


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil eraseVolume jhfs+ BC3 disk0s5

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s5

diskutil list


If you only see disk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and run BCA and click on Restore/Remove.

Jun 1, 2018 4:58 AM in response to venezuelakro

venezuelakro wrote:


Incorrect size for volume "Macintosh HD"

Adjusting volume "Macintosh HD"

Growing Logical Volume

Resizing Core Storage Logical Volume structures

Resized Core Storage Logical Volume to 2,114,568,323,072 bytes

Growing file system

The partition map appears to be OK

Finished partition map repair on disk0

repairDisk did correct the size issue as well. Can you post the output of


diskutil cs list

Aug 17, 2018 6:14 AM in response to almahrooqiali

almahrooqiali wrote:


Step1 is done :


The Core Storage Logical Volume UUID is 16626A96-21C5-4CE1-B560-B2C8BCD0A032

Started CoreStorage operation on disk2 BOOTCAMP

Scheduling decryption of Core Storage Logical Volume

Core Storage LV UUID: 16626A96-21C5-4CE1-B560-B2C8BCD0A032

Finished CoreStorage operation on disk2 BOOTCAMP

What about the other steps ???

+-- Logical Volume Group 97C28674-D1CE-4419-A59F-7797720675D8

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

Name: BOOTCAMP

Status: Online

Size: 207023501312 B (207.0 GB)

Free Space:
8597504 B (8.6 MB)

|

+-< Physical Volume 1EC1F898-1A9C-4E9A-B0C5-5A3CB66A4951

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

|
Index: 0

|
Disk: disk0s3

|
Status:
Online

|
Size: 207156887552 B (207.2 GB)

|

+-> Logical Volume Family 0BB1A210-737F-448B-8774-6BFB93316FC1

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

Encryption Type: AES-XTS

Encryption Status: Unlocked

Conversion Status: Converting

Reversion State: Decrypting

High Level Queries: Not Fully Secure

| Has Visible Users

| Has Volume Key

|

+-> Logical Volume 16626A96-21C5-4CE1-B560-B2C8BCD0A032

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

Disk: disk2

Status: Online

Size (Total): 206795964416 B (206.8 GB)

Conversion Progress:
Paused

Revertible: No

LV Name: BOOTCAMP

Volume Name: BOOTCAMP

Content Hint: Apple_HFS


We need to let this process complete, before we execute the next step and if this completes without any errors.


Run


diskutil cs list


to check on progress.

Sep 30, 2018 11:42 AM in response to Finno42

Finno42 wrote:


Can you have a look at mine

Do you want to remove Windows? If yes, then run


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

diskutil list


If you see only disk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and run BC Assistant and click on Remove/Restore.

Oct 15, 2018 9:51 AM in response to Loner T

Last login: Mon Oct 15 18:21:37 on ttys000

Lucass-MBP:~ JustCallMeEarl$ diskutil apfs list

APFS Containers (2 found)

|

+-- Container disk1 0180DD28-EBD6-4DF5-8025-9D602D7D5C3E

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

| APFS Container Reference: disk1

| Size (Capacity Ceiling): 48654974976 B (48.7 GB)

| Minimum Size: 2707910656 B (2.7 GB)

| Capacity In Use By Volumes: 112472064 B (112.5 MB) (0.2% used)

| Capacity Not Allocated: 48542502912 B (48.5 GB) (99.8% free)

| |

| +-< Physical Store disk0s3 2A713138-6237-4A19-806E-34C74A5196AE

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

| | APFS Physical Store Disk: disk0s3

| | Size: 48654974976 B (48.7 GB)

| |

| +-> Volume disk1s1 D3F82CA7-D9EF-3092-BE57-2177000071DF

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

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

| Name: BOOTCAMP (Case-insensitive)

| Mount Point: /Volumes/BOOTCAMP

| Capacity Consumed: 2359296 B (2.4 MB)

| FileVault: No

|

+-- Container disk2 D9E6EF65-BE11-41E0-8587-9453DB691F79

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

APFS Container Reference: disk2

Size (Capacity Ceiling): 202000805888 B (202.0 GB)

Minimum Size: 202000805888 B (202.0 GB)

Capacity In Use By Volumes: 160313024512 B (160.3 GB) (79.4% used)

Capacity Not Allocated: 41687781376 B (41.7 GB) (20.6% free)

|

+-< Physical Store disk0s2 FA73DDAC-387C-40B0-A72E-A97FCC5FBCF4

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

| APFS Physical Store Disk: disk0s2

| Size: 202000805888 B (202.0 GB)

|

+-> Volume disk2s1 F9905251-2CD6-3346-948C-24AFD831AEEA

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

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

| Name: Macintosh HD (Case-insensitive)

| Mount Point: /

| Capacity Consumed: 157490204672 B (157.5 GB)

| FileVault: No

|

+-> Volume disk2s2 10B7992E-BC4C-45B3-9AE8-B0B1D2C35E9E

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

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

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 22614016 B (22.6 MB)

| FileVault: No

|

+-> Volume disk2s3 97506F20-1447-495C-8C09-6E1CE9E46DE4

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

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

| Name: Recovery (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 519000064 B (519.0 MB)

| FileVault: No

|

+-> Volume disk2s4 00762D86-B5C7-47C3-88E4-642A53EB7978

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

APFS Volume Disk (Role): disk2s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 2147504128 B (2.1 GB)

FileVault: No

Lucass-MBP:~ JustCallMeEarl$

May 19, 2019 6:18 PM in response to Loner T

Thanks Loner, I updated my OS (now running Mojave v10.14.5), and shut the computer down. After starting it up again, I was able to run Boot Camp Assistant which now recognizes the windows partition, but it gives an error message upon trying to restore.


"Your disk could not be restored to a single partition."


After running terminal>diskutil list, it shows a different result from yesterday:

/dev/disk0 (internal):


   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                         121.3 GB   disk0

   1:                        EFI EFI                     314.6 MB   disk0s1

   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2


/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *3.0 TB     disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                 Apple_APFS Container disk2         2.5 TB     disk1s2

   3:       Microsoft Basic Data BOOTCAMP                501.3 GB   disk1s3

   4:           Windows Recovery                         505.4 MB   disk1s4


/dev/disk2 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +2.6 TB     disk2

                                 Physical Stores disk0s2, disk1s2

   1:                APFS Volume Macintosh HD            1.3 TB     disk2s1

   2:                APFS Volume Preboot                 43.2 MB    disk2s2

   3:                APFS Volume Recovery                509.7 MB   disk2s3

   4:                APFS Volume VM                      2.1 GB     disk2s4


Any ideas what the best next steps could be? Thanks again, I appreciate it.



Loner T wrote:

Proteinz wrote:

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *3.0 TB     disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk2         2.5 TB     disk0s2

   3:       Microsoft Basic Data BOOTCAMP                501.3 GB   disk0s3

   4:           Windows Recovery                         505.4 MB   disk0s4

If you see the highlighted line when you run the diskutil list command, you are ready to eraseVolume disk0s4.

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.