错误:
The target disk is in use by APFS as a Physical Store; use diskutil apfs deleteContainer
Error: -69519: The target disk is too small for this operation, or a gap is required in your partition map which is missing or too small, which is often caused by an attempt to grow a partition beyond the beginning of another partition or beyond the end of partition map usable space
1.显示磁盘信息
diskutil list
2.移除磁盘
sudo diskutil eraseVolume free none disk0s3
可能会出现异常
3.将APFS 格式的 BOOTCAMP 磁盘转化为 HFS 格式,在执行第2步移除磁盘
sudo diskutil apfs deleteContainer disk0s3
4.合并
sudo diskutil apfs resizeContainer disk0s2 0