my mac loss about 80GB free space after running diskutil commands

by kiri CHENG   Last Updated July 10, 2019 15:12 PM

enter image description here

Since I have allocated 2 partition for installing windows. Now i want to get space back to the macintoh HD Disk, I just followed by the method online and tried several commands like: enter image description here the disk0s4 & disk0s5 was installed with windows system before. But when i want to resize disk0s2 and let it have all the space: $sudo diskutil apfs resizeContainer disk0s2 0 It does not work. enter image description here This is my first time to run diskutil commands, please help!

Related Questions

Recover deleted partition space

Updated June 04, 2016 08:05 AM

How to remove a partition with terminal?

Updated November 07, 2017 07:12 AM

Increase Disk Partition in APFS for new SSD

Updated July 17, 2018 09:12 AM

Space lost after bootcamp fail

Updated December 29, 2018 16:12 PM