After MacPro delete bootcamp partition, memory back to the system tray

We have a friend who might be doing dual system with MacPro, but later found not enough memory, delete bootcamp after the disk, the system disk to make room, but later discovered that partition has been erased, but the memory is still not recovered, the solution is as follows:

First, the power-on reset, and then press command + r keys, see the bottom of the Disk Utility, click to enter the bootcamp partition, click into the future, you will find that there is a large circle on the right, select the portion of the bootcamp, click on the bottom of the "-" No keyboard, prompted determine whether to delete the current partition, click OK, and then restart it;

Second, the terminal iterm operational methods:

(1) diskutil list; list all disk information;

(2) sudo diskutil eraseVolume free none disk0s3; wipe away your windows installation disk memory;

(3) sudo diskutil apfs resizeContainer disk0s2; restored disc space to system memory;

Guess you like

Origin www.cnblogs.com/haoxinchen/p/12095200.html