I have a 320GB hard drive and after testing it I found that the first 20GB have many bad sectors, and the rest of the disk is healthy. Now I want to sell it to a friend, I will format it and install windows myself. Here I will create a 20GB partition that will not be used and it will be hidden. But what if my friend tries to reinstall it himself. He will overwrite the partitions and get windows files written on the bad sectors.
Now, is there a way to permanently lock/hide the 20GB partition to prevent access to it even with a new installation of windows?
Thank you.