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

Oct 13, 2018 10:29 AM in response to Loner T

diskutil apfs list

APFS Container (1 found)

|

+-- Container disk2 F45CA7DA-C0A3-4530-9E23-9D24838DACAA

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

APFS Container Reference: disk2 (Fusion)

Size (Capacity Ceiling): 957700972544 B (957.7 GB)

Capacity In Use By Volumes: 709502414848 B (709.5 GB) (74.1% used)

Capacity Not Allocated: 248198557696 B (248.2 GB) (25.9% free)

|

+-< Physical Store disk1s2 614E360D-8585-49F7-AC5C-C9C95E52ADE5

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

| APFS Physical Store Disk: disk1s2 (Main)

| Size: 27685384192 B (27.7 GB)

|

+-< Physical Store disk0s2 59B3F715-3E0A-4FD2-A23F-C519350CADFD

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

| APFS Physical Store Disk: disk0s2 (Secondary, Designated Aux Use)

| Size: 930015588352 B (930.0 GB)

|

+-> Volume disk2s1 8B05F43D-A73D-3F01-AA27-C9ABB2735DD6

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

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

| Name: Macintosh HD (Case-insensitive)

| Mount Point: /

| Capacity Consumed: 701213003776 B (701.2 GB)

| FileVault: No

|

+-> Volume disk2s2 B515A283-080F-4BC0-9B38-2C432433D693

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

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

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 43515904 B (43.5 MB)

| FileVault: No

|

+-> Volume disk2s3 B397AC33-EE61-45C8-81E3-AD1D4EB171AD

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

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

| Name: Recovery (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 512385024 B (512.4 MB)

| FileVault: No

|

+-> Volume disk2s4 9614400D-F17F-460E-B1F4-E40D31E92660

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

APFS Volume Disk (Role): disk2s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 3222441984 B (3.2 GB)

FileVault: No

Oct 13, 2018 11:41 AM in response to Loner T

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 disk2 930.0 GB disk0s2


/dev/disk1 (internal):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 28.0 GB disk1

1: EFI EFI 314.6 MB disk1s1

2: Apple_APFS Container disk2 27.7 GB disk1s2


/dev/disk2 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +957.7 GB disk2

Physical Stores disk1s2, disk0s2

1: APFS Volume Macintosh HD 701.2 GB disk2s1

2: APFS Volume Preboot 43.5 MB disk2s2

3: APFS Volume Recovery 512.4 MB disk2s3

4: APFS Volume VM 3.2 GB disk2s4

Oct 16, 2018 7:49 PM in response to Loner T

Loaner T,

I deleted my windows partition via disk utility. However, upon restarting my computer, i saw the "windows recovery" screen. are you able to tell me what command to run based on these logs? I appreciate any insight.


Last login: Tue Apr 10 16:07:41 on console

Bretts-MacBook-Pro:~ brettkime$ 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 250.2 GB
disk0s2

3: Windows Recovery 499.1 MB
disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +250.2 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 67.1 GB disk1s1

2: APFS Volume Preboot 21.7 MB disk1s2

3: APFS Volume Recovery 509.8 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Oct 27, 2018 6:12 AM in response to charguytechguy

Hello I have the same problem I want to restore the startup disk as a single partition

Here is the 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_HFS Macintosh HD 141.4 GB
disk0s2

3: Microsoft Basic Data 650.0 MB
disk0s3

4: Apple_HFS BOOTCAMP 100.2 GB
disk0s4

5: Windows Recovery 471.9 MB
disk0s5


/dev/disk1 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme +735.1 MB
disk1

1: Apple_HFS FL Studio 735.0 MB
disk1s1


/dev/disk3 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *1.0 TB disk3

1: Windows_NTFS WD Nicolas 1.0 TB disk3s1


Thank you for your help!

Oct 27, 2018 6:44 AM in response to nicojbn

nicojbn wrote:


Hello I have the same problem I want to restore the startup disk as a single partition

Here is the 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_HFS Macintosh HD 141.4 GB
disk0s2

3: Microsoft Basic Data 650.0 MB
disk0s3

4: Apple_HFS BOOTCAMP 100.2 GB
disk0s4

5: Windows Recovery 471.9 MB
disk0s5


Can you start a new discussion in Boot Camp? The 650MB disk0s3 should be your local Recovery HD, but it is incorrectly formatted? Were the partitions modified in any way before you arrived at this state?

Oct 28, 2018 12:59 AM in response to Loner T

Hi Loner,


I would appreciate if you could help me out. I tried deleting my windows 10 partition to increase my mac disk space using BC assistant. BC assistant froze during the process and now I cannot locate/recover the partition. Please advise on how to reclaim the lost partition for my mac. I would like to get all 121.3 GB back for my mac. Below is my disktutil list output. Thank you.


/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_APFS Container disk1 81.0 GB disk0s2


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +81.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 66.8 GB disk1s1

2: APFS Volume Preboot 22.4 MB disk1s2

3: APFS Volume Recovery 519.0 MB
disk1s3

4: APFS Volume VM 1.1 GB disk1s4

Oct 28, 2018 9:59 AM in response to zayn6ix

** Reply to earlier post**

This is my output after the command diskutil apfs resizeContainer disk1 0g


Started APFS operation

Aligning grow delta to 40,106,962,944 bytes and targeting a new physical store size of 121,123,069,952 bytes

Determined the maximum size for the targeted physical store of this APFS Container to be 121,122,041,856 bytes

Resizing APFS Container designated by APFS Container Reference disk1

The specific APFS Physical Store being resized is disk0s2

Verifying storage system

Using live mode

Performing fsck_apfs -n -x -l /dev/disk0s2

Checking volume

Checking the container superblock

Checking the EFI jumpstart record

Checking the space manager

Checking the object map

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Verifying allocated space

The volume /dev/disk0s2 appears to be OK

Storage system check exit code is 0

Growing APFS Physical Store disk0s2 from 81,016,107,008 to 121,123,069,952 bytes

Modifying partition map

Growing APFS data structures

Finished APFS operation

Oct 29, 2018 1:02 AM in response to Loner T

Last login: Mon Oct 29 11:31:05 on ttys000

Ibrahims-MacBook-Air:~ ibrahimmakhijani$ diskutil apfs list

APFS Containers (2 found)

|

+-- Container disk1 D8461E5F-8E15-454D-A43B-F70315ECA440

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

| APFS Container Reference: disk1

| Size (Capacity Ceiling): 35495325696 B (35.5 GB)

| Capacity In Use By Volumes: 83750912 B (83.8 MB) (0.2% used)

| Capacity Not Allocated: 35411574784 B (35.4 GB) (99.8% free)

| |

| +-< Physical Store disk0s5 974723A6-E016-4CF6-B1D0-85A82F392C12

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

| | APFS Physical Store Disk: disk0s5

| | Size: 35495325696 B (35.5 GB)

| |

| +-> Volume disk1s1 D6BB2577-F757-475E-B585-87460A1884ED

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

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

| Name: BOOTCAMP (Case-insensitive)

| Mount Point: /Volumes/BOOTCAMP 1

| Capacity Consumed: 856064 B (856.1 KB)

| FileVault: Yes (Unlocked)

|

+-- Container disk2 6DE48407-59CE-4085-92E9-30A39A0AD661

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

APFS Container Reference: disk2

Size (Capacity Ceiling): 77000060928 B (77.0 GB)

Capacity In Use By Volumes: 58514219008 B (58.5 GB) (76.0% used)

Capacity Not Allocated: 18485841920 B (18.5 GB) (24.0% free)

|

+-< Physical Store disk0s2 070862A6-1472-4702-818C-C80F9EC9C067

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

| APFS Physical Store Disk: disk0s2

| Size: 77000060928 B (77.0 GB)

|

+-> Volume disk2s1 1F9F002C-BDA5-435B-AACA-C56BB85C21A0

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

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

| Name: Macintosh HD (Case-insensitive)

| Mount Point: /

| Capacity Consumed: 56761155584 B (56.8 GB)

| FileVault: Yes (Unlocked)

|

+-> Volume disk2s2 207C9258-8BEF-4EC7-90E2-B3018580DA4A

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

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

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 44556288 B (44.6 MB)

| FileVault: No

|

+-> Volume disk2s3 A2490563-DE24-4F8F-926C-4670A92E4519

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

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

| Name: Recovery (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 512421888 B (512.4 MB)

| FileVault: No

|

+-> Volume disk2s4 830CB4B3-AF50-480D-9E8B-0029BD49AFFD

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

APFS Volume Disk (Role): disk2s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 1073762304 B (1.1 GB)

FileVault: No

Nov 7, 2018 9:27 AM in response to charguytechguy

Loner T, can you please help me as well? When I run diskutil list I have:



#: TYPE NAME SIZE IDENTIFIER


0: GUID_partition_scheme 500.3 GB
disk0


1: EFI EFI 314.6 MB
disk0s1


2: Apple_APFS Container disk1 354.0 GB
disk0s2


3: Microsoft Basic Data BOOTCAMP 145.5 GB
disk0s3


4: Windows Recovery 489.7 MB
disk0s4


/dev/disk1 (synthesized):


#: TYPE NAME SIZE IDENTIFIER


0: APFS Container Scheme - +354.0 GB
disk1

Physical Store disk0s2


1: APFS Volume Macintosh HD 65.0 GB disk1s1


2: APFS Volume Preboot 68.7 MB disk1s2


3: APFS Volume Recovery 1.0 GB disk1s3


4: APFS Volume VM 1.1 GB disk1s4

Nov 7, 2018 9:32 AM in response to randallfromspanish fork

If you need the diskutil apfs list output it is:


APFS Container (1 found)

|

+-- Container disk1 8D55775C-8369-4863-8117-46F7E41C8736

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

APFS Container Reference: disk1

Size (Capacity Ceiling): 354000281600 B (354.0 GB)

Capacity In Use By Volumes:
67316830208 B (67.3 GB) (19.0% used)

Capacity Not Allocated: 286683451392 B (286.7 GB) (81.0% free)

|

+-< Physical Store disk0s2 FAB8F542-4839-47B5-B134-B4C9970A9088

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

|
APFS Physical Store Disk:
disk0s2

|
Size: 354000281600 B (354.0 GB)

|

+-> Volume disk1s1 5326EE7D-9C9F-4462-A2A2-3276C95B82F0

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

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

|
Name: Macintosh HD (Case-insensitive)

|
Mount Point: /

|
Capacity Consumed: 64995942400 B (65.0 GB)

|
FileVault: No

|

+-> Volume disk1s2 A70F2457-6A98-46D0-BA7C-A348D344DD90

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

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

|
Name: Preboot (Case-insensitive)

|
Mount Point: Not Mounted

|
Capacity Consumed: 68661248 B (68.7 MB)

|
FileVault: No

|

+-> Volume disk1s3 54BA13C0-61F3-4188-AA97-4F0370309425

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

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

|
Name: Recovery (Case-insensitive)

|
Mount Point: Not Mounted

|
Capacity Consumed: 1030492160 B (1.0 GB)

|
FileVault: No

|

+-> Volume disk1s4 CF81D0C3-6A7A-4D6E-85B0-1D11CC0578CB

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

APFS Volume Disk (Role):
disk1s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 1073762304 B (1.1 GB)

FileVault: No

Nov 23, 2018 6:40 PM in response to Loner T

Loner T,


I am trying to install windows and am getting the error referenced in this thread when I ran BCA. Any help would be greatly appreciated. Thanks!


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

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

4: Microsoft Basic Data BOOTCAMP 49.0 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +443.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 53.1 GB disk1s1

2: APFS Volume Preboot 25.7 MB disk1s2

3: APFS Volume Recovery 519.0 MB disk1s3

4: APFS Volume VM 2.1 GB disk1s4

Nov 23, 2018 6:45 PM in response to Loner T

So now just do that last function? erase volume fat32....?


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

3: Apple_HFS BC1 56.8 GB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +443.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 53.2 GB disk1s1

2: APFS Volume Preboot 25.7 MB disk1s2

3: APFS Volume Recovery 519.0 MB disk1s3

4: APFS Volume VM 2.1 GB disk1s4

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.