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 11:50 AM in response to Kotaryp155

Kotaryp155 wrote:


I now show - Macintosh HD, BOOTCAMP, BOOTCAMP in diskutility. Macintosh HD 400GB APFS Volume APFS (Encrypted), BOOTCAMP 99.59 GB PCI Internal Physical Volume Windows NT File System (NTFS), BOOTCAMP 471.9 MB PCI Internal Physical Volume MS-DOS (FAT32). When I went back to Boot Camp Assistant however after running the diskutil eraseVolume fat32 BOOTCAMP disk0s4 from Terminal, I am seeing the same error message as before.

Prior to running - in diskutility, I had Macintosh HD 400GB APFS Volume APFS (Encrypted), BOOTCAMP 99.59 GB PCI Internal Physical Volume Windows NT File System (NTFS), and a disk0s4 that was greyed out.

These two volumes need to merged before you can use BCA to Remove/restore. Please post the output of diskutil list and I can provide the commands to correctly merge them.

Jan 16, 2018 3:07 AM in response to chinhhut

No, you cannot use the same steps. Updated steps are


diskutil eraseVolume jhfs+ BC1 disk0s4

diskutil eraseVolume jhfs+ BC2 disk0s5

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s5

diskutil list


If you only see dsk0s3, then


diskutil eraseVolume fat32 BOOTCAMP disk0s3


and now run BC Assistant and click on Restore/Remove.


Once you have space back in the Container, then recreate a partition for data and restore Data.

Jul 14, 2018 12:16 PM in response to philip99song

philip99song wrote:


Hello LonerT,


I thought this worked but I guess I accidently tried to reinstall bootcamp again because it gave me an error. What is the correct command this time? Sorry for making you type all of this and thank you so much for the help.


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

3: Microsoft Basic Data OSXRESERVED 8.0 GB disk0s6

4: Microsoft Basic Data BOOTCAMP 39.9 GB disk0s4

5: Apple_HFS BC1 48.4 GB disk0s3


The disk slices are out of order, can you reboot and check if the order is renumbered?

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.