I have a 1TB Seagate hard drive (old-style spinning disc :) ). I want to repurpose it if I can do so safely.
It was as originally the primary system drive on a Win7 laptop. It may well have been compromised by viruses, etc.
I wish to use it as the boot drive for a new Debian installation on an old laptop. I'll use encryption, strong passphrases, etc. The laptop will host a full Bitcoin Core client, amongst other things.
My initial plan is to simply remove the existing partitions then using dd to write over the entire /dev/sdx device. Then I would let the Debian installed build it back up.
Will this protect me from any evil stuff that may be on the drive?
Is there something more I should do to clear the MBR, etc?