Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
2 added 5 characters in body
source | link

The command given below will add the free space back to the container. You need to enter the command in a Terminal application window.

sudo  diskutil  apfs  resizeContainer  disk0s2  0 

I thought this command could be entered while booted to High Sierra. Evidently, the OP needed to boot to recovery mode.

The command given below will add the free space back to the container. You need to enter the command in a Terminal application window.

sudo diskutil apfs resizeContainer disk0s2 0 

I thought this command could be entered while booted to High Sierra. Evidently, the OP needed to boot to recovery mode.

The command given below will add the free space back to the container. You need to enter the command in a Terminal application window.

sudo  diskutil  apfs  resizeContainer  disk0s2  0 

I thought this command could be entered while booted to High Sierra. Evidently, the OP needed to boot to recovery mode.

1
source | link

The command given below will add the free space back to the container. You need to enter the command in a Terminal application window.

sudo diskutil apfs resizeContainer disk0s2 0 

I thought this command could be entered while booted to High Sierra. Evidently, the OP needed to boot to recovery mode.