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

Lost space after uninstalling the Bootcamp

I was removing bootcamp using the built-in app Bootcamp support. During the uninstall, it just crashed my mac and nothing was doable (about 40 mintues). So I turn off the mac and was able to boot fortunately. But I lost alost 50GB which was occupied by the Bootcamp. I tried to partition the 256GB SSD, but the disk utility app says there is "free space" which is preoccupied.


I tried to find solutions with my own, but it seems the commands needed are different in different circumstance. This is the result of 'diskutil list' when I boot the mac. In case you need 'diskutil list' on the recovery mode, then I'll post it. Great thanks for any help.


By the way, it is totally okay to lose all the data. I'm using High Sierra 10.13.6.


/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk1 203.0 GB disk0s2


/dev/disk1 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +203.0 GB disk1

Physical Store disk0s2

1: APFS Volume Macintosh HD 104.5 GB disk1s1

2: APFS Volume Preboot 20.7 MB disk1s2

3: APFS Volume Recovery 519.0 MB disk1s3

4: APFS Volume VM 1.1 GB disk1s4

MacBook Pro (Retina, 13-inch, Mid 2014), macOS High Sierra (10.13.6)

Posted on Sep 19, 2018 6:58 PM

Reply

Similar questions

9 replies

Sep 20, 2018 12:24 AM in response to Loner T

I actaully went to the recovery mode and did both 'gpt ...' and 'diskutil list' there (because they look different).


The result of 'gpt -vv -r show /dev/disk0':

gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 490234751

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 396484384 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC

396894024 93340695

490234719 32 Sec GPT table

490234751 1 Sec GPT header



The result of 'diskutil list':

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_APFS Container disk2 203.0 GB disk0s2


/dev/disk1 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme +2.1 GB disk1

1: Apple_HFS OS X Base System 2.0 GB disk1s1


/dev/disk2 (synthesized):

#: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +203.0 GB disk2

Physical Store disk0s2

1: APFS Volume Macintosh HD 103.7 GB disk2s1

2: APFS Volume Preboot 20.7 MB disk2s2

3: APFS Volume Recovery 519.0 MB disk2s3

4: APFS Volume VM 2.1 GB disk2s4


/dev/disk3 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +5.2 MB disk3


/dev/disk4 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk4


/dev/disk5 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk5


/dev/disk6 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk6


/dev/disk7 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +2.1 MB disk7


/dev/disk8 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk8


/dev/disk9 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk9


/dev/disk10 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +12.6 MB disk10


/dev/disk11 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +4.2 MB disk11


/dev/disk12 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +1.0 MB disk12


/dev/disk13 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +2.1 MB disk13


/dev/disk14 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk14


/dev/disk15 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk15


/dev/disk16 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +1.0 MB disk16


/dev/disk17 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +6.3 MB disk17


/dev/disk18 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +6.3 MB disk18


/dev/disk19 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +524.3 KB disk19


/dev/disk20 (disk image):

#: TYPE NAME SIZE IDENTIFIER

0: untitled +2.1 MB disk20

Sep 20, 2018 3:28 PM in response to Loner T

Here it is:

APFS Container (1 found)

|

+-- Container disk1 831A3D61-5CFB-4918-A1C0-1B1D6885C2E6

====================================================

APFS Container Reference: disk1

Size (Capacity Ceiling): 203000004608 B (203.0 GB)

Minimum Size: 110882787328 B (110.9 GB)

Capacity In Use By Volumes: 107264729088 B (107.3 GB) (52.8% used)

Capacity Not Allocated: 95735275520 B (95.7 GB) (47.2% free)

|

+-< Physical Store disk0s2 8E53281C-5064-416A-8F31-AF98A204127B

| -----------------------------------------------------------

| APFS Physical Store Disk: disk0s2

| Size: 203000004608 B (203.0 GB)

|

+-> Volume disk1s1 5A396B99-3633-3F8C-9E3B-537BF6CB7BBF

| ---------------------------------------------------

| APFS Volume Disk (Role): disk1s1 (No specific role)

| Name: Macintosh HD (Case-insensitive)

| Mount Point: /

| Capacity Consumed: 104443551744 B (104.4 GB)

| FileVault: No

|

+-> Volume disk1s2 7F8204C2-4F4F-4855-9E6D-CBAFCEA453EB

| ---------------------------------------------------

| APFS Volume Disk (Role): disk1s2 (Preboot)

| Name: Preboot (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 20713472 B (20.7 MB)

| FileVault: No

|

+-> Volume disk1s3 C82E3A9B-948F-476D-889D-727018D54330

| ---------------------------------------------------

| APFS Volume Disk (Role): disk1s3 (Recovery)

| Name: Recovery (Case-insensitive)

| Mount Point: Not Mounted

| Capacity Consumed: 519000064 B (519.0 MB)

| FileVault: No

|

+-> Volume disk1s4 55408022-B236-4440-9FF4-CC48DBC9085B

---------------------------------------------------

APFS Volume Disk (Role): disk1s4 (VM)

Name: VM (Case-insensitive)

Mount Point: /private/var/vm

Capacity Consumed: 2147504128 B (2.1 GB)

FileVault: No

Sep 20, 2018 10:04 PM in response to Loner T

Oh my god it seems worked


Started APFS operation

Aligning grow delta to 47,790,432,256 bytes and targeting a new physical store size of 250,790,436,864 bytes

Determined the maximum size for the targeted physical store of this APFS Container to be 250,789,408,768 bytes

Resizing APFS Container designated by APFS Container Reference disk2

The specific APFS Physical Store being resized is disk0s2

Verifying storage system

Performing fsck_apfs -n -x /dev/disk0s2

Checking volume

Checking the container superblock

Checking the EFI jumpstart record

Checking the space manager

Checking the object map

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Checking the APFS volume superblock

Checking the object map

Checking the fsroot tree

Checking the snapshot metadata tree

Checking the extent ref tree

Checking the snapshots

Verifying allocated space

The volume /dev/disk0s2 appears to be OK

Storage system check exit code is 0

Growing APFS Physical Store disk0s2 from 203,000,004,608 to 250,790,436,864 bytes

Modifying partition map

Growing APFS data structures

Finished APFS operation

Lost space after uninstalling the Bootcamp

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