MacOS – Unable to partition internal disk on El Capitan

macospartition

I'm trying to install Linux on my MacBook Air but seem to have fallen at the first hurdle and am unable to partition my disk. I open Disk Utility, I have ~70GB of free space and when I click partition at the top it starts the process.

What I then find is that Disk Utility says "Incorrect number of file hard links" and "Invalid directory item count".

I have also tried to run first aid on my Macintosh HD, the same messages come up but then Disk Utility just says that the First Aid process is complete, leaving me still unable to partition my disk.

Is there anyway I can fix this problem?

Thanks.

Best Answer

Did you ever create hard links in the terminal? Sounds like you need to delete them properly.

If that doesn't work you may need something like DiskWarrior to repair your drive.

If all that fails, backup your hard drive, re-initialize and re-partition.

Good luck!