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

Bootcamp Partition not showing up

So I recently decided of getting rid of my bootcamp partition, hence so no problem may arise I removed it using bootcamp. After the removal was done, the free space was missing, it wasn't added back to the main partition and all alone it seems the space is invisible. I tried going to recovery and use sudo/gdisk but the terminal shows back : "Bash- Sudo: Command not found". I don't know what to do, I have attached the picture of disk utility below.

MacBook Pro 13", macOS 10.14

Posted on Jun 7, 2019 3:09 AM

Reply
7 replies

Jun 7, 2019 8:23 AM in response to Loner T

Nishs-Mac:~ Nishit$ diskutil eraseVolume free free disk0s3

Started erase on disk0s3

Unmounting disk

Finished erase on disk0

Nishs-Mac:~ Nishit$ diskutil apfs resizeContainer disk1 0g

Started APFS operation

Aligning grow delta to 102,067,404,800 bytes and targeting a new physical store size of 500,068,036,608 bytes

Determined the maximum size for the targeted physical store of this APFS Container to be 500,067,006,464 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 -S /dev/disk0s2

Checking the container superblock

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 Macintosh HD was formatted by hfs_convert (748.21.6) and last modified by apfs_kext (945.260.7)

Checking the object map

Checking the snapshot metadata tree

Checking the snapshot metadata

Checking the extent ref tree

Checking the fsroot tree

error: drec_val object (oid 0x323afa): invalid type (0)

fsroot tree is invalid

The volume /dev/disk0s2 could not be verified completely

Storage system check exit code is 0

Growing APFS Physical Store disk0s2 from 398,000,631,808 to 500,068,036,608 bytes

Modifying partition map

Growing APFS data structures

Finished APFS operation


Also If i am a root then how do i use the gdisk command in recovery. I thought I found a solution to the problem but it shows up Gdisk: Command not found.

Jun 7, 2019 4:41 AM in response to Loner T

Nishs-Mac:~ Nishit$ diskutil list

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *500.3 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk1         398.0 GB   disk0s2

   3:         Microsoft Reserved                         16.8 MB    disk0s3

/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +398.0 GB   disk1

                                 Physical Store disk0s2


   1:                APFS Volume Macintosh HD            314.4 GB   disk1s1

   2:                APFS Volume Preboot                 52.2 MB    disk1s2

   3:              APFS Volume Recovery                509.7 MB   disk1s3

   4:                APFS Volume VM                      1.1 GB     disk1s4



Jun 7, 2019 8:34 AM in response to Nishiit

Nishiit wrote:


Checking the fsroot tree
error: drec_val object (oid 0x323afa): invalid type (0)
fsroot tree is invalid
The volume /dev/disk0s2 could not be verified completely
Storage system check exit code is 0

This should be corrected in Single-User Mode.

Growing APFS Physical Store disk0s2 from 398,000,631,808 to 500,068,036,608 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation

This looks good.

Also If i am a root then how do i use the gdisk command in recovery. I thought I found a solution to the problem but it shows up Gdisk: Command not found.

GDisk is not a built-in command in macOS. It is a third-party utility, which is not available in Recovery.

Bootcamp Partition not showing up

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