You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Can't remove bootcamp partition (Error: -69879: Couldn't open disk)

I used Boot Camp Assistant to create a partition for Windows.

And now I can't seem to be able to delete it.

I'm on MacOS Big Sur.



Last login: Tue Nov 24 18:28:03 on ttys000

(base) timsoulo@Tims-MBP ~ % diskutil eraseVolume fat32 BOOTCAMP disk0s3

Started erase on disk0s3 (BOOTCAMP)

Unmounting disk

Error: -69879: Couldn't open disk


Please help! :)

MacBook

Posted on Nov 24, 2020 2:42 AM

Reply

Similar questions

7 replies

Nov 24, 2020 4:02 PM in response to Loner T

Sure! here it is:


(base) timsoulo@Tims-MBP ~ % diskutil list

/dev/disk0 (internal, physical):

  #:            TYPE NAME          SIZE    IDENTIFIER

  0:   GUID_partition_scheme            *2.0 TB   disk0

  1:            EFI ⁨EFI⁩           314.6 MB  disk0s1

  2:         Apple_APFS ⁨Container disk1⁩     1.9 TB   disk0s2

  3:    Microsoft Basic Data ⁨BOOTCAMP⁩        149.8 GB  disk0s3


/dev/disk1 (synthesized):

  #:            TYPE NAME          SIZE    IDENTIFIER

  0:   APFS Container Scheme -           +1.9 TB   disk1

                 Physical Store disk0s2

  1:        APFS Volume ⁨Macintosh HD⁩      14.9 GB  disk1s1

  2:       APFS Snapshot ⁨com.apple.os.update-...⁩ 14.9 GB  disk1s1s1

  3:        APFS Volume ⁨Macintosh HD - Data⁩   453.3 GB  disk1s2

  4:        APFS Volume ⁨Preboot⁩         285.7 MB  disk1s3

  5:        APFS Volume ⁨Recovery⁩        655.5 MB  disk1s4

  6:        APFS Volume ⁨VM⁩           2.1 GB   disk1s5

Nov 26, 2020 7:18 PM in response to Loner T

Last login: Thu Nov 26 18:54:56 on console
(base) timsoulo@Tims-MBP ~ % diskutil eraseVolume free free disk0s3
Started erase on disk0s3 (BOOTCAMP)
Unmounting disk
Finished erase on disk0


+


(base) timsoulo@Tims-MBP ~ % diskutil apfs ResizeContainer disk1 0g
Started APFS operation
Aligning grow delta to 149,795,688,448 bytes and targeting a new physical store size of 2,000,796,545,024 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 2,000,795,516,928 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 the APFS volume superblock
The volume Macintosh HD was formatted by storagekitd (1677.50.1) and last modified by apfs_kext (1677.50.1)

Checking snapshot 1 of 1 (com.apple.os.update-779BDF1556C6F688504E24FB29C75AFFABFCB91E701806FFFF35235E19914F1E)

Checking the APFS volume superblock
The volume Macintosh HD - Data was formatted by asr (1412.61.1) and last modified by apfs_kext (1677.50.1)

Checking the APFS volume superblock
The volume Preboot was formatted by asr (1412.61.1) and last modified by apfs_kext (1677.50.1)

Checking the APFS volume superblock
The volume Recovery was formatted by asr (1412.61.1) and last modified by apfs_kext (1677.50.1)

Checking the APFS volume superblock
The volume VM was formatted by apfs_boot_util (1677.50.1) and last modified by apfs_kext (1677.50.1)

Checking the APFS volume superblock
The volume Update was formatted by com.apple.Mobile (1677.50.1) and last modified by apfs_kext (1677.50.1)

Verifying allocated space
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 1,851,000,856,576 to 2,000,796,545,024 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation


Looks like this worked and I no longer see the BOOTCAMP partition in my Disk Utility tool!


HUGE THANKS for your help! :)

Can't remove bootcamp partition (Error: -69879: Couldn't open disk)

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