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

deleted bootcamp partition still taking up space/ dividing disk

so a couple days ago i made a bootcamp partition that was 48 gigs because i was wanting to see how it worked. I then deleted the partition to make a bigger one with 220 gigs. when i made the one with 220 gigs, a problem occurred and i had to restart. the problem was that when i deleted that partition, it did not free up the space on my disk and when i go into disk utility, there is nothing but my disk and my disk data. I freed up some space on my computer and then made another partition to try to override the ghost partition and the same problem occurred. now i have literally half my computers disk storage. please help. thanks.

iMac 21.5″, macOS 11.1

Posted on Mar 4, 2021 9:51 AM

Reply
13 replies

Mar 5, 2021 2:12 PM in response to JustinKQ

Run


diskutil eraseVolume free free disk0s11

diskutil eraseVolume free free disk0s10

diskutil eraseVolume free free disk0s9

diskutil eraseVolume free free disk0s8

diskutil eraseVolume free free disk0s7

diskutil eraseVolume free free disk0s6

diskutil eraseVolume free free disk0s5

diskutil eraseVolume free free disk0s4

diskutil eraseVolume free free disk0s3


diskutil apfs resizeContainer disk1 0g


and post the output.


Before your next attempt to install Windows, disconnect all external peripherals,



Mar 5, 2021 1:47 PM in response to Loner T

this is what it printed


Justins-Computer:~ Justin$ diskutil list

/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_APFS ⁨Container disk1⁩     514.0 GB  disk0s2

  3:            EFI ⁨NO NAME⁩         104.9 MB  disk0s3

          (free space)             256.9 GB  -

  4:            EFI ⁨NO NAME⁩         104.9 MB  disk0s4

  5:            EFI ⁨NO NAME⁩         104.9 MB  disk0s5

  6:            EFI ⁨NO NAME⁩         104.9 MB  disk0s6

  7:            EFI ⁨NO NAME⁩         104.9 MB  disk0s7

  8:            EFI ⁨NO NAME⁩         104.9 MB  disk0s8

  9:            EFI ⁨NO NAME⁩         104.9 MB  disk0s9

 10:            EFI ⁨NO NAME⁩         104.9 MB  disk0s10

 11:            EFI ⁨NO NAME⁩         104.9 MB  disk0s11

          (free space)             228.1 GB  -


/dev/disk1 (synthesized):

  #:            TYPE NAME          SIZE    IDENTIFIER

  0:   APFS Container Scheme -           +514.0 GB  disk1

                 Physical Store disk0s2

  1:        APFS Volume ⁨Justin's Disk - Data⁩  465.7 GB  disk1s1

  2:        APFS Volume ⁨Preboot⁩         296.4 MB  disk1s2

  3:        APFS Volume ⁨Recovery⁩        610.7 MB  disk1s3

  4:        APFS Volume ⁨VM⁩           3.2 GB   disk1s4

  5:        APFS Volume ⁨Justin's Disk⁩      15.0 GB  disk1s5

  6:       APFS Snapshot ⁨com.apple.os.update-...⁩ 15.0 GB  disk1s5s1

Mar 5, 2021 2:26 PM in response to Loner T

wooo! 500bg out of 1tb now! thank you so much for helping.


here is the output from this session


Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s11

Started erase on disk0s11 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s10

Started erase on disk0s10 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s9

Started erase on disk0s9 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s8

Started erase on disk0s8 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s7

Started erase on disk0s7 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s6

Started erase on disk0s6 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s5

Started erase on disk0s5 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s4

Started erase on disk0s4 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil eraseVolume free free disk0s3

Started erase on disk0s3 (NO NAME)

Unmounting disk

Finished erase on disk0

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ 

Justins-Computer:~ Justin$ diskutil apfs resizeContainer disk1 0g

Started APFS operation

Aligning grow delta to 485,995,778,048 bytes and targeting a new physical store size of 999,995,129,856 bytes

Determined the maximum size for the targeted physical store of this APFS Container to be 999,994,101,760 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 container superblock

warning: container has been mounted by APFS version 1677.81.1, which is newer than 1677.60.23

warning: disabling overallocation repairs by default; use -o to override

Checking the EFI jumpstart record

Checking the space manager

Checking the space manager free queue trees

Checking the object map

Checking volume

Checking the APFS volume superblock

The volume Justin's Disk - Data was formatted by diskmanagementd (945.275.7) and last modified by apfs_kext (1677.81.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume Preboot was formatted by diskmanagementd (945.275.7) and last modified by apfs_kext (1677.81.1)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume Recovery was formatted by diskmanagementd (945.275.7) and last modified by apfs_kext (1677.60.23)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume VM was formatted by apfs.util (945.275.7) and last modified by apfs_kext (1677.60.23)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Checking volume

Checking the APFS volume superblock

The volume Justin's Disk was formatted by storagekitd (1677.60.23) and last modified by apfs_kext (1677.60.23)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking snapshot 1 of 1 (com.apple.os.update-5523D8E63431315F9F949CCDD0274BF797F5CEE4EAF616D4C66A01B8D6A83C7B)

Checking the extent ref tree

Checking the fsroot tree

Checking the file extent tree

Checking volume

Checking the APFS volume superblock

The volume Update was formatted by com.apple.Mobile (1677.60.23) and last modified by apfs_kext (1677.60.23)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

Verifying allocated space

The volume /dev/disk0s2 appears to be OK

Storage system check exit code is 0

Growing APFS Physical Store disk0s2 from 513,999,351,808 to 999,995,129,856 bytes

Modifying partition map

Growing APFS data structures

Finished APFS operation

deleted bootcamp partition still taking up space/ dividing disk

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