but you didn't say that you see you said:
I thought it might be an overheating problem because it only happens when im rendering something or playing a game. Is there something i can do about this without replacing the drive?
It only crashes on a game or rendering , this is why I said that..
i'm guessing the harddrive is faulty tho.. try run a diagnoses test, restart the laptop , guessing it has a diagnoses tool right?