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

Jun 2, 2018 7:55 AM in response to Loner T

There is. This is odd as the last time I tried to use Bootcamp the progress bar got stuck on the partitioning portion and never moved... I had to force quit. I guess the computer must of made the partition anyway?


So I just ran Bootcamp again to get rid of the partition successfully.

I ran Bootcamp once more to begin the process of installing Windows and was successful!


I am now in the Windows eviorment and everything is working fine!


Thank you again for all of your help. You are amazing for everything you have done!

Jun 4, 2018 11:27 AM in response to Loner T

I have same problem.I had my boot camp running and it prompted that due some error BC has stopped and it was deleting the created disks...after a long time i closed the BC unfinished .

Now in ** i see a partition named 'BOOTCAMP' of 100.7 GB and 'OSXRESERVED' of 8GB of which only BOOTCAMP is accessible.

When i go in BC it shows a error as

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


I got in ** and gone in partitions in which only for OSXRESERVED a minus sign in there but not for BOOTCAMP


Please help me in this problem

Jun 10, 2018 1:09 AM in response to Loner T

hi loner t

thanks for your helps here

I have the same problem :The startup disk cannot be partitioned or restored to a single partition" error.


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS C 149.5 GB disk0s2

3: Apple_Boot 650.0 MB disk0s3

4: Apple_HFS D 49.7 GB disk0s4

5: Apple_HFS E 299.8 GB disk0s5

can u help me please

Jun 18, 2018 4:00 PM 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 172.0 GB disk0s2

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

4: Microsoft Basic Data BOOTCAMP 70.5 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +172.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 99.2 GB disk1s1

2: APFS Volume Preboot 61.0 MB disk1s2

3: APFS Volume Recovery 1.6 GB disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Jun 21, 2018 11:07 AM in response to Loner T

hi Loner T

sorry to bother you with this problem too

i just want to make sure what partitions to erase

my diskutil list is as follows:


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *240.1 GB
disk0

1: EFI EFI 209.7 MB
disk0s1

2: Apple_APFS Container disk1 129.2 GB
disk0s2

3: Apple_KernelCoreDump 655.4 MB
disk0s3

4: Microsoft Basic Data BOOTCAMP 110.0 GB
disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +129.2 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh SSD 101.2 GB
disk1s1

2: APFS Volume Preboot 30.6 MB disk1s2

3: APFS Volume Recovery 519.9 MB
disk1s3

4: APFS Volume VM 2.1 GB disk1s4


and yes i am currently running a beta version of high sierra

should i just delete disk4 and merge disk 4 and 2?

Jun 23, 2018 1:36 PM in response to Loner T

Hey Loner T,


I am also having some issues with trying to remove the windows partition through boot camp assistant and it says that "The startup disk cannot be partitioned or restored to a single partition". I have tried using "diskutil eraseVolume fat32 BOOTCAMP disk0s4" but still doesn't help. Here is my diskutil list:User uploaded file

Please help me. I have been stuck trying to figure out how to get rid of this bootcamp. Thank you.

Jun 27, 2018 12:17 PM in response to charguytechguy

I am having the same issue. I ran , "diskutil eraseVolume fat32 BOOTCAMP disk0s4" in terminal and i tried to remove the partition using BC Assistant, but it it still saying that my "The startup disk cannot be partitioned or restored to a single partition"... I know you said don't use Disk Utility, so how should I go about removing my partition and getting windows back on my machine?

Jun 27, 2018 1:19 PM in response to Loner T

Last login: Wed Jun 27 16:08:51 on console

zacharys-mbp-7:~ ZacharyHutchinson$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB
disk0s1

2: Apple_APFS Container disk1 873.3 GB
disk0s2

3: Apple_KernelCoreDump 655.4 MB
disk0s3

4: Microsoft Basic Data BOOTCAMP 126.4 GB
disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +873.3 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 596.8 GB
disk1s1

2: APFS Volume Preboot 30.3 MB disk1s2

3: APFS Volume Recovery 518.1 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4


/dev/disk2 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *4.0 TB disk2

1: EFI EFI 314.6 MB
disk2s1

2: Microsoft Basic Data 4TB 4.0 TB disk2s2


Jun 30, 2018 8:16 AM in response to Loner T

Loner T,


I'm having a similar issue.

I'm using my MAC OS for private use. For business reasons I wanted to install Windows 10. Unfortunately it didn't work at first time and now the partition seems to be blocked.

Would be great, if you can help me with that problem!


This is what I get with 'disutil 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 disk1 392.0 GB disk0s2

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

4: Windows Recovery 471.9 MB disk0s4

5: EFI NO NAME 104.9 MB disk0s5

6: Microsoft Reserved 16.8 MB disk0s6

7: Apple_HFS UNTITLED 99.3 GB disk0s7


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +392.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 291.5 GB disk1s1

2: APFS Volume Preboot 23.3 MB disk1s2

3: APFS Volume Recovery 517.8 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Jun 30, 2018 9:24 AM in response to Loner T

The output is:


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

3: Apple_HFS BC1 107.9 GB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +392.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 291.5 GB disk1s1

2: APFS Volume Preboot 23.3 MB disk1s2

3: APFS Volume Recovery 517.8 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4



When I start Boot Camp it seems to be solved now. Can I try the windows installation again?

Jun 30, 2018 12:11 PM in response to Loner T

No, I only put the commands in the terminal window. Do I have to remove the disk0s3 via Disk Utility? If I open Disk Utility it monitors:

- Macintosh HD

- BC1


Here the complete output from the post before, if it may helps:


Samuels-MacBook-Pro-2:~ sam$ diskutil eraseVolume jhfs+ BC1 disk0s3

Started erase on disk0s3 OSXRESERVED

Unmounting disk

Erasing

Initialized /dev/rdisk0s3 as a 7 GB case-insensitive HFS Plus volume with a 8192k journal

Mounting disk

Finished erase on disk0s3 BC1

Samuels-MacBook-Pro-2:~ sam$ diskutil eraseVolume jhfs+ BC2 disk0s4

Started erase on disk0s4

Unmounting disk

Error: -5343: MediaKit reports no such partition

Samuels-MacBook-Pro-2:~ sam$ diskutil eraseVolume jhfs+ BC3 disk0s5

Started erase on disk0s5 NO NAME

Unmounting disk

Erasing

Initialized /dev/rdisk0s5 as a 100 MB case-insensitive HFS Plus volume with a 512k journal

Mounting disk

Finished erase on disk0s5 BC3

Samuels-MacBook-Pro-2:~ sam$ diskutil eraseVolume jhfs+ BC4 disk0s6

Unable to find disk for disk0s6

Samuels-MacBook-Pro-2:~ sam$ diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s7

Merging partitions into a new partition

Start partition: disk0s3 BC1

Finish partition: disk0s7 UNTITLED

Started partitioning on disk0

Merging partitions

Waiting for partitions to activate

Growing disk

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 disk1 392.0 GB disk0s2

3: Apple_HFS BC1 107.9 GB disk0s3

Samuels-MacBook-Pro-2:~ sam$ 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 disk1 392.0 GB disk0s2

3: Apple_HFS BC1 107.9 GB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +392.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 291.5 GB disk1s1

2: APFS Volume Preboot 23.3 MB disk1s2

3: APFS Volume Recovery 517.8 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Jun 30, 2018 3:19 PM in response to Loner T

Samuels-MacBook-Pro-2:~ sam$ Diskutil apfs list

APFS Containers (2 found)

|

+-- Container disk1 9DDDA1C3-5EDB-4AB9-99A3-0367A7031100

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

| APFS Container Reference: disk1

| Size (Capacity Ceiling): 392000000000 B (392.0 GB)

| Minimum Size: 338586083328 B (338.6 GB)

| Capacity In Use By Volumes: 327748714496 B (327.7 GB) (83.6% used)

| Capacity Not Allocated: 64251285504 B (64.3 GB) (16.4% free)

| |

| +-< Physical Store disk0s2 5339D66B-7EDD-4A7A-98DD-3800DA2E209A

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

| | APFS Physical Store Disk: disk0s2

| | Size: 392000000000 B (392.0 GB)

| |

| +-> Volume disk1s1 D6AD0E7C-A87C-350F-93AB-92E783CF24A7

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

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

| | Name: Macintosh HD (Case-insensitive)

| | Mount Point: /

| | Capacity Consumed: 324907282432 B (324.9 GB)

| | FileVault: No

| |

| +-> Volume disk1s2 285C8F33-E149-4F90-A815-334147235083

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

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

| | Name: Preboot (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 24690688 B (24.7 MB)

| | FileVault: No

| |

| +-> Volume disk1s3 483CCA47-F858-48A8-9F43-136FA995071C

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

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

| | Name: Recovery (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 517763072 B (517.8 MB)

| | FileVault: No

| |

| +-> Volume disk1s4 8AC9AE8E-46EB-4CF6-96F0-DC80ED7B26CA

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

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

| Name: VM (Case-insensitive)

| Mount Point: /private/var/vm

| Capacity Consumed: 2147524608 B (2.1 GB)

| FileVault: No

|

+-- Container disk2 2655EBD8-33FB-4DB8-89BD-DF5C7F9595A7

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

APFS Container Reference: disk2

Size (Capacity Ceiling): 108067356672 B (108.1 GB)

Minimum Size: 164966400 B (165.0 MB)

Capacity In Use By Volumes: 149270528 B (149.3 MB) (0.1% used)

Capacity Not Allocated: 107918086144 B (107.9 GB) (99.9% free)

|

+-< Physical Store disk0s3 017050D2-4F50-4E3D-A133-5407537D4E30

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

| APFS Physical Store Disk: disk0s3

| Size: 108067358208 B (108.1 GB)

|

+-> Volume disk2s2 EEDCE07F-4A11-40B2-8674-2F034A5580D9

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

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

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 24682496 B (24.7 MB)

| FileVault: No

|

+-> Volume disk2s3 1A9B91CD-88F6-4A6F-9AC1-7EE658DA58CD

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

APFS Volume Disk (Role): disk2s3 (Recovery)

Name: Recovery (Case-insensitive)

Mount Point: Not Mounted

Capacity Consumed: 20480 B (20.5 KB)

FileVault: No

Jul 2, 2018 8:21 AM in response to Loner T

Loner T,

I'm having a similar problem. I try to understand your code but it doesn't work.

Help me please.This is my Code.


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *121.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 121.0 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 496.3 GB disk1s2

3: Windows Recovery 523.2 MB disk1s3

4: EFI NO NAME 104.9 MB disk1s4

5: Microsoft Reserved 16.8 MB disk1s5

6: Microsoft Basic Data 503.0 GB disk1s6


/dev/disk2 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +608.8 GB disk2

Logical Volume on disk0s2, disk1s2

E9C59FA2-098E-499B-A167-DD13ABB3E3B7

Unencrypted Fusion Drive

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.