I feel like this is a known problem on High Sierra, but I can't delete my BOOTCAMP partition to gain "Free Space" and I also can't expand my APFS container that contains my MACINTOSH HD. It's like they've turned into seperate hard disks, and I can't move over the space from the old file system to the new one. This is what I find when I type diskutil list into terminal:


I tried manually deleting the BOOTCAMP partition using terminal, and then expanding the container: I tried using the diskutil apfs resizeContainer. But I got an error saying that the target disk has no space (i.e. it doesn't detect the free space). Any solutions?

  • What did you do to make your BootCamp partition Apple_HFS style (it should be Microsoft Basic Data)? – klanomath Aug 21 '17 at 18:21
  • I pressed erase in disk utility and made it into Apple_HFS style. – semmo Aug 21 '17 at 22:29

First convert the former Boot Camp partition to free space:

sudo diskutil eraseVolume "Free Space" %noformat% /dev/disk0s3

Then expand your APFS container to the max (0 is a magic size here):

diskutil apfs resizeContainer disk0s2 0
  • I actually tried this method, but before Dev Beta 7, the APFS container couldn't detect the empty space. In Beta 7 you can just use disk utility to fill the empty space. Not sure if above method will work. – semmo Aug 23 '17 at 16:10

You must log in to answer this question.

protected by Community Jan 13 '18 at 18:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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