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.

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
532 replies

Apr 18, 2018 2:44 AM in response to charguytechguy

Dear Loner T,


I am experiencing the same issue as well, could you help me out too?


//diskutil list

/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 251.0 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Apple_APFS Container disk2 206.0 GB disk0s2

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

4: Apple_APFS Container disk1 36.7 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +36.7 GB disk1

Physical Store disk0s4


/dev/disk2 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +206.0 GB disk2

Physical Store disk0s2

1: APFS Volume Macintosh HD 183.8 GB disk2s1

2: APFS Volume Preboot 21.9 MB disk2s2

3: APFS Volume Recovery 520.8 MB disk2s3

4: APFS Volume VM 1.1 GB disk2s4

//diskutil list

No CoreStorage logical volume groups found

Apr 18, 2018 8:25 PM in response to Loner T

APFS Containers (2 found)

|

+-- Container disk1 D4D698E8-FCE4-4242-A82F-F2EC388F3411

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

| APFS Container Reference: disk1

| Capacity Ceiling (Size): 36684869632 B (36.7 GB)

| Capacity In Use By Volumes: 85106688 B (85.1 MB) (0.2% used)

| Capacity Available: 36599762944 B (36.6 GB) (99.8% free)

| |

| +-< Physical Store disk0s4 498D90B8-9B9E-408E-AD9E-81B544EC3356

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

| | APFS Physical Store Disk: disk0s4

| | Size: 36684869632 B (36.7 GB)

| |

| +-> No Volumes

|

+-- Container disk2 7C0A19E4-5E17-4B36-A04D-2D6941555D9D

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

APFS Container Reference: disk2

Capacity Ceiling (Size): 205999996928 B (206.0 GB)

Capacity In Use By Volumes: 186173960192 B (186.2 GB) (90.4% used)

Capacity Available: 19826036736 B (19.8 GB) (9.6% free)

|

+-< Physical Store disk0s2 45E3C46D-037A-4964-97CA-56ACFA574B3C

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

| APFS Physical Store Disk: disk0s2

| Size: 205999996928 B (206.0 GB)

|

+-> Volume disk2s1 661CFA5D-9D77-3C64-B998-29EA8C2D0B55

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

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

| Name: Macintosh HD (Case-insensitive)

| Mount Point: /

| Capacity Consumed: 184423346176 B (184.4 GB)

| Encrypted: No

|

+-> Volume disk2s2 C30C1B51-2A37-43D4-9648-5B0A15FA74B2

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

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

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 21860352 B (21.9 MB)

| Encrypted: No

|

+-> Volume disk2s3 9AF600A8-D3FF-4AA2-8BD9-2DF67BA91C03

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

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

| Name: Recovery (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 520765440 B (520.8 MB)

| Encrypted: No

|

+-> Volume disk2s4 F1E92B55-1D59-445A-8264-EDB6CB6B803B

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

APFS Volume Disk (Role): disk2s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 1073766400 B (1.1 GB)

Encrypted: No

Apr 19, 2018 5:16 AM in response to lenakira

Run


diskutil apfs deleteContainer D4D698E8-FCE4-4242-A82F-F2EC388F3411

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.

Apr 19, 2018 9:34 PM in response to Loner T

Hi Loner T, thank you so much for the prompt reply, below are my results, am I doing it correctly?


I managed to merge it back to 250 GB, but when I tried to start Boot Camp Assistant to install Windows 10, I got this error despite having more than 60GB + of free space.


/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 251.0 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Apple_APFS Container disk1 250.7 GB disk0s2


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +250.7 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 193.9 GB disk1s1

2: APFS Volume Preboot 22.7 MB disk1s2

3: APFS Volume Recovery 517.8 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Apr 20, 2018 10:18 AM in response to Loner T

hi loner t. I tried to run some of the commands you suggested, but it didn't fully work. I am now stuck at the following stage:


/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 1.0 TB disk0

1: EFI EFI 314.6 MB
disk0s1

2: Apple_APFS Container disk1 878.0 GB
disk0s2

3: Apple_APFS Container disk2 121.2 GB
disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +878.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 336.9 GB
disk1s1

2: APFS Volume Preboot 23.2 MB disk1s2

3: APFS Volume Recovery 517.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4


/dev/disk2 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +121.2 GB
disk2

Physical Store disk0s3

1: APFS Volume bc1 987.1 KB
disk2s1


Could you please tell me how to merge those two disks back together so I can do a clean Bootcamp install?


Your help is much appreciated.

Apr 20, 2018 2:32 PM in response to Loner T

Hi and thanks for your quick reply. Please see below:


APFS Containers (2 found)

|

+-- Container disk1 DE26BA8B-9E82-45E2-BB7F-E55CCF1B756E

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

|
APFS Container Reference: disk1

|
Size (Capacity Ceiling): 878007263232 B (878.0 GB)

|
Minimum Size: 349637971968 B (349.6 GB)

|
Capacity In Use By Volumes:
338747011072 B (338.7 GB) (38.6% used)

|
Capacity Not Allocated: 539260252160 B (539.3 GB) (61.4% free)

|
|

|
+-< Physical Store disk0s2 6D31B57E-FAF0-4155-934C-22EAF42F9173

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

|
|
APFS Physical Store Disk:
disk0s2

|
|
Size: 878007263232 B (878.0 GB)

|
|

|
+-> Volume disk1s1 5A14A919-FE8E-3830-91F1-CD5B2A772FA0

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

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

|
|
Name: Macintosh HD (Case-insensitive)

|
|
Mount Point: /

|
|
Capacity Consumed: 336935841792 B (336.9 GB)

|
|
FileVault: Yes (Unlocked)

|
|

|
+-> Volume disk1s2 F6FF13C2-025A-4CF9-8409-809EBA7B87AB

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

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

|
|
Name: Preboot (Case-insensitive)

|
|
Mount Point: Not Mounted

|
|
Capacity Consumed: 23199744 B (23.2 MB)

|
|
FileVault: No

|
|

|
+-> Volume disk1s3 BFC29C93-5A04-4384-977F-C0FCF2B5280E

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

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

|
|
Name: Recovery (Case-insensitive)

|
|
Mount Point: Not Mounted

|
|
Capacity Consumed: 517750784 B (517.8 MB)

|
|
FileVault: No

|
|

|
+-> Volume disk1s4 793505FA-2E0F-41CC-81D4-F49D0AB9A6F0

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

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

| Name: VM (Case-insensitive)

| Mount Point: /private/var/vm

| Capacity Consumed: 1073762304 B (1.1 GB)

| FileVault: No

|

+-- Container disk2 9B028BE4-C881-4A57-9543-AAB36C73BF50

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

APFS Container Reference: disk2

Size (Capacity Ceiling): 121198018560 B (121.2 GB)

Minimum Size: 371597312 B (371.6 MB)

Capacity In Use By Volumes:
127344640 B (127.3 MB) (0.1% used)

Capacity Not Allocated: 121070673920 B (121.1 GB) (99.9% free)

|

+-< Physical Store disk0s3 7D89C4A5-4DCF-4142-81C0-92D4DC241012

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

|
APFS Physical Store Disk:
disk0s3

|
Size: 121198018560 B (121.2 GB)

|

+-> Volume disk2s1 0725DA92-3644-3936-82A2-048C2E7C37EB

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

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

Name: bc1 (Case-insensitive)

Mount Point: /Volumes/bc1

Capacity Consumed: 987136 B (987.1 KB)

FileVault: No

Apr 20, 2018 3:06 PM in response to Loner T

You're amazing, that worked. Thank you so much.


Out of curiosity - where can I find out more about this? For instance, why did neither diskutil list nor diskutil apfs list show any reference to there being a 'fat32' formatted BOOTCAMP disk from what I can see, but instead showed APFS?

What made you want to run diskutil apfs list in the first place and why did you delete in the order Volume-Container-Volume.

Sorry, I don't expect a full answer, but I am curious to learn more about this.

Thanks for your help again!

Apr 22, 2018 12:10 AM in response to chkchk33

Hey I have the same problem as everyone else I got this:

Last login: Sun Apr 22 07:42:23 on console

Yanns-MacBook-Pro:~ yannkull$ diskutil erasevolume fat32 bootcamp disk0s4

bootcamp does not appear to be a valid volume name for its file system

Yanns-MacBook-Pro:~ yannkull$ diskutil list

/dev/disk0 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 251.0 GB
disk0

1: EFI EFI 314.6 MB
disk0s1

2: Apple_APFS Container disk1 174.0 GB
disk0s2

3: Microsoft Basic Data BOOTCAMP 76.2 GB disk0s3

4: Windows Recovery 513.8 MB
disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +174.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 155.1 GB
disk1s1

2: APFS Volume Preboot 19.9 MB disk1s2

3: APFS Volume Recovery 517.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4


Yanns-MacBook-Pro:~ yannkull$

Yanns-MacBook-Pro:~ yannkull$ diskutil cs list

No CoreStorage logical volume groups found

Apr 22, 2018 6:29 AM in response to ylkrubiks

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.

Apr 22, 2018 10:39 PM in response to charguytechguy

Hello.

I finished the erase disk04 and disk05 steps, but could not merge them.

diskutil list

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 702.0 GB disk0s2

3: Microsoft Basic Data BOOTCAMP 297.3 GB disk0s3

4: Microsoft Basic Data Untitled 471.9 MB disk0s4

5: Microsoft Basic Data Untitled 512.8 MB
disk0s5


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +702.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 527.6 GB disk1s1

2: APFS Volume Preboot 22.0 MB disk1s2

3: APFS Volume Recovery 517.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Please help me.

How should I do now?

Thanks.

Apr 23, 2018 5:37 AM in response to Loner T

I have finished the steps.

"diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil eraseVolume jhfs+ BC3 disk0s5

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s5"


Now the diskutil list looks like follow:

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

3: Apple_HFS BC1 298.2 GB
disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +702.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 528.4 GB
disk1s1

2: APFS Volume Preboot 22.0 MB disk1s2

3: APFS Volume Recovery 517.8 MB
disk1s3

4: APFS Volume VM 2.1 GB disk1s4



The Boot Camp Assistant shows an error message:

"The startup disk does not have enough space to be partitioned.

You must have at least 40 GB of free space available."


What should I do now???

Please help me.

Thank you.

Apr 29, 2018 1:22 PM in response to Loner T

Hi LT,

I did the steps but still have the same error message in BC Assist: "The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows."


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 249.7 GB
disk0s2

3: Microsoft Basic Data BOOTCAMP 249.5 GB
disk0s3

4: Apple_HFS UntitledHFS 893.4 MB
disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +249.7 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 230.3 GB
disk1s1

2: APFS Volume Preboot 21.9 MB disk1s2

3: APFS Volume Recovery 517.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4

What am I missing?

Apr 29, 2018 1:37 PM in response to Loner T

I had the below error:


diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

The chosen disk does not support resizing.

Do you wish to format instead? (y/N) y

Merging partitions into a new partition

Start partition: disk0s3 BOOTCAMP

Finish partition: disk0s4 UntitledHFS


Merging partitions encountered error "Operation not permitted (1)".

The erase will not occur.

What does it mean?

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.