Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I can't erase my BOOTCAMP partition in MacOS Mojave

Hi guys.


I have an iMac 2017 (Core i7, Fusion 3Tb, Radeon 580 8Gb, 16Gb)


One month ago, I installed Windows 10 in my iMac for one project but I don't need it now, I tried to erase bootcamp partition with diskutill app and diskutil terminal... But I cannot erase it..


My scheme partition is:


   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                         121.3 GB   disk0

   1:                        EFI EFI                     314.6 MB   disk0s1

   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2



/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *3.0 TB     disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                 Apple_APFS Container disk2         2.3 TB     disk1s2

   3:       Microsoft Basic Data BOOTCAMP                724.4 GB   disk1s3



/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +2.4 TB     disk2

                                 Physical Stores disk0s2, disk1s2

   1:                APFS Volume MacOS                   1.7 TB     disk2s1

   2:                APFS Volume Preboot                 46.4 MB    disk2s2

   3:                APFS Volume Recovery                510.4 MB   disk2s3

   4:                APFS Volume VM                      5.9 GB     disk2s4


I´m try this:


diskutil eraseVolume jhfs+ MyVolume disk1s3

Started erase on disk1s3 BOOTCAMP

Unmounting disk

Error: -69879: Couldn't open disk


What can I do?


Thanks

iMac Line (2012 and Later)

Posted on Mar 22, 2020 11:18 AM

Reply
Question marked as Best reply

Posted on Mar 23, 2020 8:26 AM

I´m resolved my problem...


Use CMD+R to enter recovery and erase bootcamp partition but diskutil show an error and botcamp partition and 700Gb missing, I cannot see in disk app or diskutil:


   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                         121.3 GB   disk0

   1:                        EFI EFI                     314.6 MB   disk0s1

   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2



/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *3.0 TB     disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                 Apple_APFS Container disk2         2.3 TB     disk1s2



/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +2.4 TB     disk2

                                 Physical Stores disk0s2, disk1s2

   1:                APFS Volume MacOS                   1.7 TB     disk2s1

   2:                APFS Volume Preboot                 46.4 MB    disk2s2

   3:                APFS Volume Recovery                510.4 MB   disk2s3

   4:                APFS Volume VM                      2.1 GB     disk2s4


So I think that free space of AFP Container disk2 is lost.


Try to resize AFPS container with all free space --> diskutil apfs resizeContainer disk0s2 0


And work ok :-) all lost space is in AFPS Container

Similar questions

4 replies
Question marked as Best reply

Mar 23, 2020 8:26 AM in response to GoldFran

I´m resolved my problem...


Use CMD+R to enter recovery and erase bootcamp partition but diskutil show an error and botcamp partition and 700Gb missing, I cannot see in disk app or diskutil:


   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                         121.3 GB   disk0

   1:                        EFI EFI                     314.6 MB   disk0s1

   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2



/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *3.0 TB     disk1

   1:                        EFI EFI                     209.7 MB   disk1s1

   2:                 Apple_APFS Container disk2         2.3 TB     disk1s2



/dev/disk2 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +2.4 TB     disk2

                                 Physical Stores disk0s2, disk1s2

   1:                APFS Volume MacOS                   1.7 TB     disk2s1

   2:                APFS Volume Preboot                 46.4 MB    disk2s2

   3:                APFS Volume Recovery                510.4 MB   disk2s3

   4:                APFS Volume VM                      2.1 GB     disk2s4


So I think that free space of AFP Container disk2 is lost.


Try to resize AFPS container with all free space --> diskutil apfs resizeContainer disk0s2 0


And work ok :-) all lost space is in AFPS Container

Mar 23, 2020 8:27 AM in response to GoldFran

   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                         121.3 GB   disk0


   1:                        EFI EFI                     314.6 MB   disk0s1


   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2




/dev/disk1 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *3.0 TB     disk1


   1:                        EFI EFI                     209.7 MB   disk1s1


   2:                 Apple_APFS Container disk2         3.0 TB     disk1s2




/dev/disk2 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +3.1 TB     disk2


                                 Physical Stores disk0s2, disk1s2


   1:                APFS Volume MacOS                   1.7 TB     disk2s1


   2:                APFS Volume Preboot                 46.4 MB    disk2s2


   3:                APFS Volume Recovery                510.4 MB   disk2s3


   4:                APFS Volume VM                      2.1 GB     disk2s4

I can't erase my BOOTCAMP partition in MacOS Mojave

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.