EDIT: FIXED!
As I mentioned below, I was able to activate the partition removal function using the Disk Utility in Internet Recovery, but quit it when it was still running after 12 hours. This changed the partition to "Free Space", which also could not be removed by any of the Disk Utility programs. So I went into Terminal and ran this command:
diskutil apfs resizeContainer disk1 0g
And it worked--my disk has been restored to a single partition.
Credit: https://discussions.apple.com/thread/251271783?&previousThread=253238513021
********
I've got a 2014 15" Macbook Pro running High Sierra (10.13.6). I just added a separate partition for Big Sur (that's a new partition = new Container, not a new Volume), using Internet Recovery (CMD-OPT-R), and it set up without issues. However, I subsequently learned I don't need the partition, and it actually inteferes with my ability to access my university's VPN, so I need to get rid of it.
The problem is I can't delete it because it thinks it's in use (see first screenshot). I was able to delete the Container's Volumes, but not the Container itself. I tried booting into Recovery Mode (CMD-R)—same issue.
I then went through a few cycles of First Aid on all the pieces, using a combination of the main Disk Utility and Disk Utility in Recovery Mode, until everything was fixed. I then switched to Internet Recovery, tried Disk Utility in that mode, and I was able to click on the minus button there to remove the partition. However, istuck on "Preparing to remove partition" with the blue-and-white barbershop pole for ≈12 hours, so I finally quit it.
Is there a fix for this in Terminal*, or should I just wipe the entire disk ("Apple SSD SM1024F Media") and reinstall from my Carbon Copy Cloner backup?
*I found this for a stubborn Bootcamp partition, but don't know if it's applicable to my situation:
The last screenshot shows the output of diskutil apfs list. Not sure what's creating the error in my main partition (Macintosh HD, which I want to keep)—see bottom screenshot; First Aid didn't fix this.
As I mentioned below, I was able to activate the partition removal function using the Disk Utility in Internet Recovery, but quit it when it was still running after 12 hours. This changed the partition to "Free Space", which also could not be removed by any of the Disk Utility programs. So I went into Terminal and ran this command:
diskutil apfs resizeContainer disk1 0g
And it worked--my disk has been restored to a single partition.
Credit: https://discussions.apple.com/thread/251271783?&previousThread=253238513021
********
I've got a 2014 15" Macbook Pro running High Sierra (10.13.6). I just added a separate partition for Big Sur (that's a new partition = new Container, not a new Volume), using Internet Recovery (CMD-OPT-R), and it set up without issues. However, I subsequently learned I don't need the partition, and it actually inteferes with my ability to access my university's VPN, so I need to get rid of it.
The problem is I can't delete it because it thinks it's in use (see first screenshot). I was able to delete the Container's Volumes, but not the Container itself. I tried booting into Recovery Mode (CMD-R)—same issue.
I then went through a few cycles of First Aid on all the pieces, using a combination of the main Disk Utility and Disk Utility in Recovery Mode, until everything was fixed. I then switched to Internet Recovery, tried Disk Utility in that mode, and I was able to click on the minus button there to remove the partition. However, istuck on "Preparing to remove partition" with the blue-and-white barbershop pole for ≈12 hours, so I finally quit it.
Is there a fix for this in Terminal*, or should I just wipe the entire disk ("Apple SSD SM1024F Media") and reinstall from my Carbon Copy Cloner backup?
*I found this for a stubborn Bootcamp partition, but don't know if it's applicable to my situation:
Can't remove partition with High Sierra - Apple Community
discussions.apple.com
The last screenshot shows the output of diskutil apfs list. Not sure what's creating the error in my main partition (Macintosh HD, which I want to keep)—see bottom screenshot; First Aid didn't fix this.
Last edited: