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

Aug 29, 2018 10:53 AM in response to charguytechguy

I have a similar question.


I followed steps posted in this thread earlier once I encountered the same error message after windows failed to install. I was attempting to restart the install process and now it's saying I don't have enough space in my start up disk. I just ran 'diskutil list' and got the following results


#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 202.0 GB disk0s2

3: Microsoft Basic Data BC1 48.7 GB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +202.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 155.2 GB disk1s1

2: APFS Volume Preboot 21.3 MB disk1s2

3: APFS Volume Recovery 519.0 MB disk1s3

4: APFS Volume VM 3.2 GB disk1s4




Where can I go from here?

Sep 7, 2018 11:13 PM in response to Loner T

I'm very sorry to bother you too, but you seem to be the only hero able to solve this boot-camp issue.
my target is to install win10 on MacBook Pro splitting the disc 50/50.


status of my disc is following:


#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme 500.3 GB disk0

1: EFI EFI 314.6 MB disk0s1

2: Microsoft Basic Data win 256.7 GB disk0s7

3: Apple_Boot Boot OS X 134.2 MB disk0s6

4: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s3

5: Apple_APFS Container disk1 235.1 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +235.1 GB disk1

Physical Store disk0s4

1: APFS Volume boot 14.3 GB disk1s1

2: APFS Volume Preboot 22.6 MB disk1s2

3: APFS Volume Recovery 515.8 MB disk1s3

4: APFS Volume VM 2.1 GB disk1s4



any advise I can get here - thanks a ton in advance.

Sep 13, 2018 5:50 PM in response to Loner T

Hi Loner T, I have a early 2015 13 inch macbook pro. I just want to remove Windows without using it anymore and restore to a single drive. Here is my information:


/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_CoreStorage Macintosh HD 927.4 GB
disk0s2

3: Apple_Boot Recovery HD 650.0 MB
disk0s3

4: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s4

5: Microsoft Reserved 134.2 MB
disk0s5

6: Microsoft Basic Data BOOTCAMP 64.2 GB disk0s6

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +927.0 GB
disk1

Logical Volume on disk0s2

Thanks a lot for your help!

Sep 13, 2018 8:15 PM in response to Loner T

Thank you so much for the quick reply!!! Here is the result now:


/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_CoreStorage Macintosh HD 927.4 GB
disk0s2

3: Apple_Boot Recovery HD 650.0 MB
disk0s3

4: Apple_HFS BC1 72.2 GB disk0s4

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +927.0 GB
disk1

Sep 30, 2018 8:31 AM in response to Loner T

Hi

Can you have a look at mine


#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 898.0 GB disk0s2

3: Microsoft Basic Data 101.5 GB disk0s3

4: Windows Recovery 492.8 MB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +898.0 GB disk1

Physical Store disk0s2

1: APFS Volume 455.8 GB disk1s1

2: APFS Volume 42.9 MB disk1s2

3: APFS Volume 512.4 MB disk1s3

4: APFS Volume 4.3 GB disk1s4

Sep 30, 2018 11:57 AM in response to Loner T

Hi Loner T


Yes i want to remove windows


This is what i am getting when i tried disk0s3


diskutil eraseVolume jhfs+ BC1 disk0s3

Started erase on disk0s3

Unmounting disk

Error: -69879: Couldn't open disk

And when i tired disk0s4

diskutil eraseVolume jhfs+ BC2 disk0s4

Started erase on disk0s4

Unmounting disk

Error: -69822: Couldn't rediscover disk after operation


And when i did a diskutil i now get this

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 898.0 GB disk0s2

3: Microsoft Basic Data 101.5 GB disk0s3

4: Apple_HFS 492.8 MB disk0s4


Any ideas?


Thanks

Sep 30, 2018 12:57 PM in response to Loner T

This is what i got


Repairing the partition map might erase disk0s1, proceed? (y/N) y

Started partition map repair on disk0

Checking prerequisites

Checking the partition list

Adjusting partition map to fit whole disk as required

Checking for an EFI system partition

Checking the EFI system partition's size

Checking the EFI system partition's file system

Checking the EFI system partition's folder content

Problems were encountered during repair of the partition map

Error: -69854: A disk with a mount point is required

Sep 30, 2018 4:28 PM in response to Loner T

Hi Loner,


First of all, I'd like to thank you for being so active these past few years helping everybody out on this issue! You are truly a godsend!!! However, I've read through several pages of this thread and I couldn't find a case the same as mine.


Here's my diskutil list :


User uploaded file

I've only tried diskutil eraseVolume fat32 BOOTCAMP disk0s4 but the problem of "The startup disk cannot be partitioned or restored into a single partition" error still remains.


Any help is appreciated, Loner!

Oct 2, 2018 4:56 AM in response to Loner T

I have the same problem could you help me please


This is the output of 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: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF 210.0 GB
disk0s2

3: Microsoft Basic Data BOOTCAMP 40.7 GB disk0s3


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +210.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 198.1 GB
disk1s1

2: APFS Volume Preboot 44.0 MB disk1s2

3: APFS Volume Recovery 512.4 MB
disk1s3

4: APFS Volume VM 8.6 GB disk1s4


Oct 2, 2018 6:21 AM in response to Loner T

I wrote it because I had it before

This is the previous output of 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: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF 210.0 GB
disk0s2

3: Microsoft Basic Data BOOTCAMP 32.2 GB disk0s3

4: Microsoft Basic Data BOOTCAMP 8.6 GB disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +210.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 198.7 GB
disk1s1

2: APFS Volume Preboot 44.0 MB disk1s2

3: APFS Volume Recovery 512.4 MB
disk1s3

4: APFS Volume VM 8.6 GB disk1s4


My problem that I have windows 10 installed by Bootcamp and I want to delete it

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

The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows.


What should I do?

Oct 2, 2018 10:15 PM in response to Loner T

-bash-3.2# fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 490234751] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

-bash-3.2#

Oct 2, 2018 10:33 PM in response to Loner T

-bash-3.2# fdisk /dev/disk0

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 490234751] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

-bash-3.2# diskutil unmount disk0

disk0 was already unmounted or it has a partitioning scheme so use "diskutil unmountDisk" instead

-bash-3.2# gpt remove -i 3 /dev/disk0

gpt remove: unable to open device '/dev/disk0': Resource busy

-bash-3.2# gpt remove -i 2 /dev/disk0

gpt remove: unable to open device '/dev/disk0': Resource busy

-bash-3.2# gpt add -i 2 -b 409640 -s 410157016 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk0

gpt add: unable to open device '/dev/disk0': Resource busy

-bash-3.2# diskutil unmount disk0

disk0 was already unmounted or it has a partitioning scheme so use "diskutil unmountDisk" instead

-bash-3.2# gpt add -i 3 -b 410566656 -s 79142912 -t hfs /dev/disk0

gpt add: unable to open device '/dev/disk0': Resource busy

-bash-3.2# gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 490234751

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 410157016 2 GPT part - FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF

410566656 79142912 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

489709568 525151

490234719 32 Sec GPT table

490234751 1 Sec GPT header

-bash-3.2# 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: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF 210.0 GB disk0s2

3: Apple_HFS BOOTCAMP 40.5 GB disk0s3


/dev/disk1 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme +2.1 GB disk1

1: Apple_HFS OS X Base System 2.0 GB disk1s1


/dev/disk2 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +5.2 MB disk2


/dev/disk3 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk3


/dev/disk4 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk4


/dev/disk5 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk5


/dev/disk6 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +2.1 MB disk6


/dev/disk7 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk7


/dev/disk8 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk8


/dev/disk9 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +12.6 MB disk9


/dev/disk10 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +4.2 MB disk10


/dev/disk11 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +1.0 MB disk11


/dev/disk12 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +2.1 MB disk12


/dev/disk13 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk13


/dev/disk14 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk14


/dev/disk15 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +1.0 MB disk15


/dev/disk16 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +6.3 MB disk16


/dev/disk17 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +6.3 MB disk17


/dev/disk18 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk18


/dev/disk19 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +2.1 MB disk19


-bash-3.2#

Oct 11, 2018 9:56 AM in response to Loner T

I want to remove my windows system too and what should I do to open the bootcamp assistant with the following information?

/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: Microsoft Basic Data BOOTCAMP 99.9 GB disk0s3

4: Microsoft Basic Data BOOTCAMP 847.2 MB
disk0s4


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +150.0 GB
disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 133.4 GB
disk1s1

2: APFS Volume Preboot 22.1 MB disk1s2

3: APFS Volume Recovery 519.0 MB
disk1s3

4: APFS Volume VM 3.2 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


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.