Is usually some other issue like a failed drive or badly corrupted. Try your Linux system but formatting a drive can trip up an OS install. I use the old method of leaving space unpartitioned for the OS install to do its thing.