Benches Intel Macs

1

Terminal Commands to Remove BOOTCAMP

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi Guys,

I'm trying to remove Bootcamp from my iMac and getting the following error when trying to load Boot Camp Assistant:

"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 know there are a set of terminal commands I can run to delete this manually and restore my main HD back to the correct partitions but my Diskutil List looks a little different than what I have been reading elsewhere.

Could someone please have a look and let me know which commands I need to run, or if there is another way around this.

Results of diskutil list:

/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 disk2         121.1 GB   disk0s2

/dev/disk1 (internal, physical):

#:                       TYPE NAME                    SIZE       IDENTIFIER

0:      GUID_partition_scheme                        *2.0 TB     disk1

1:                        EFI EFI                     209.7 MB   disk1s1

2:                 Apple_APFS Container disk2         1.7 TB     disk1s2

3:       Microsoft Basic Data BOOTCAMP                250.8 GB   disk1s3

4:           Windows Recovery                         866.1 MB   disk1s4

/dev/disk2 (synthesized):

#:                       TYPE NAME                    SIZE       IDENTIFIER

0:      APFS Container Scheme -                      +1.9 TB     disk2

Physical Stores disk0s2, disk1s2

1:                APFS Volume Ashe HD                 430.4 GB   disk2s1

2:                APFS Volume Preboot                 44.7 MB    disk2s2

3:                APFS Volume Recovery                512.3 MB   disk2s3

4:                APFS Volume VM                      3.2 GB     disk2s4

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    Loner T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    • Step 1 (ensure that disk1 is the 2TB disk, because reboot can re-order disks)

    In your specific case, given the current state, try

    diskutil eraseVolume jhfs+ BC1 disk1s3

    diskutil eraseVolume jhfs+ BC2 disk1s4

    diskutil mergePartitions jhfs+ BCMP disk1s3 disk1s4

    diskutil list

    • Step 2

    If you see only disk1s3 as the last under disk1, then run

    diskutil eraseVolume fat32 BOOTCAMP disk1s3

    and retry removing the partition using BC Assistant only.