Over the past couple of days Ubuntu has been progressively locking me out of the the system. I can't open some programs and the last straw was a few minutes ago when it refused to save a screenshot. The error I constantly see is that the filesystem is read-only. I've also been forced to perform fsck checks constantly during boot due to errors and inconsistencies. According to information online, my HDD is to blame and is probably dying and Ubuntu turns sectors to read-only as a means of protection. However, I dual boot with Windows 10 and it doesn't seem to be affected.
So before buying a new HDD, I'd like to know if there's anything else that could cause this situation and if there is a fix.
Thanks in advance for any info.