Cant remove Free Space partition in Disk Utility
Hello, I am currently on Monterey and I had a partition in place for Windows. I decided to delete it so I used boot camp assistant. It failed in the end. But after checking in disk utility I can see that it did delete everything except for the ‘free space’ I then attempted to remove the free space and rejoin it with the rest of my drives space so I can reclaim my whole hard drive space. This process also failed….I followed along with this thread Can't Remove Free Space partition in Disk… - Apple Community and I seem to have the same issue in the I have APFS Corruption. The solution in that thread was this… by @Loner T
- Boot into Local Recovery and temporarily disable SIP (complete)
- Boot into Internet Recovery. (Complete)
- Run diskutil list internal and find the APFS container. The disk should be named diskN with the number N
- Run
- diskutil unmountDisk diskN (complete)
- fsck_apfs -s -o -y /dev/rdiskN
- Check that the corruption has been corrected
- Boot normally and run
- diskutil apfs resizeContainer disk1 0g
I am up to the 4th step where I ran.. fsck_apfs -s -o -y /dev/rdisk2
I got an error: failed to enable crypto I/O mode for container dev/rdisk2 : Invalid argument.
Have I typed something wrong? Any ideas on where I go from here? Just to clarify I have 600gb that I currently have access to on my mac and I am trying to reclaim the 400gb of ‘free space’.
MacBook Pro 16″, macOS 12.6