I recently uninstalled Bootcamp on my MacbookPro 256gb.I had granted 60Gb to Windows but unfortunately, I can't recover those gigs in my main Apple container.

I tried to find solutions for this, but not having quite the same structure as me, I didn't want to make mistakes.

Here is a screenshot of my "diskutil list”

enter image description here

I know I have to do a command to delete one of its partitions but which one?

1 Answer 1


Apparently, you are using Big Sur. If so, then partition with the identifier disk0s3 is not needed. To remove this partition and recover the free space, enter the commands given below.

diskutil erasevolume free none disk0s3
diskutil apfs resizecontainer disk0s2 0
  • Boy, oh, boy, do I want to hug you for this! Commented Dec 29, 2022 at 5:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .