Space lost after bootcamp fail

Hello

This is my first apple computer (macbook air 2015). I had to install windows on this because my school wanted it.

I tried installing through bootcamp and it failed the message was "windows support software could not be installed on targeted device" then it said it was removing the partition and for hours nothing happened.

Then again opening bootcamp assistant the message was "The startup disk cannot be partitioned or restored to a single partition"

I searched the community and found some answers but my case was kind of different


My original storage was 128GB now its 84GB.

mac os mojave version 10.14.2


terminal command: diskutil list

terminal output:


/dev/disk0 (internal, physical):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      GUID_partition_scheme                        *121.3 GB   disk0


   1:                        EFI EFI                     209.7 MB   disk0s1


   2:                 Apple_APFS Container disk1         84.0 GB    disk0s2




/dev/disk1 (synthesized):


   #:                       TYPE NAME                    SIZE       IDENTIFIER


   0:      APFS Container Scheme -                      +84.0 GB    disk1


                                 Physical Store disk0s2


   1:                APFS Volume Macintosh HD            43.5 GB    disk1s1


   2:                APFS Volume Preboot                 44.8 MB    disk1s2


   3:                APFS Volume Recovery                517.0 MB   disk1s3


   4:                APFS Volume VM                      1.1 GB     disk1s4



terminal command: diskutil cs list

terminal output: No CoreStorage logical volume groups found


Also when i open disk utility


Can anyone help me. I tried searching the community but could not find situation similar to mine.

MacBook Air

Posted on Dec 29, 2018 7:41 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 29, 2018 7:46 AM

Run


diskutil apfs resizeContainer disk1 0g


and post the output.

Similar questions

5 replies

Dec 29, 2018 7:50 AM in response to Loner T

Started APFS operation


Aligning grow delta to 37,12,27,15,648 bytes and targeting a new physical store size of 1,21,12,30,69,952 bytes


Determined the maximum size for the targeted physical store of this APFS Container to be 1,21,12,20,41,856 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.31.8) and last modified by apfs_kext (945.230.6)


Checking the object map


Checking the snapshot metadata tree


Checking the snapshot metadata


Checking the extent ref tree


Checking the fsroot tree


warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)


error: btn: invalid btn_btree.bt_key_count (expected 3562589, actual 3562639)


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 84,00,03,54,304 to 1,21,12,30,69,952 bytes


Modifying partition map


Growing APFS data structures


Finished APFS operation


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Space lost after bootcamp fail

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