Though I suppose if you are really paranoid. Then the ultimate option is to hit the drive several times with a very heavy hammer. Or... if you have a log burning boiler like us, incinerate the sucker! Though I suppose this does preclude selling it on afterwards!
Or just use a Secure Erase utility as a number of folks have have already recommended (including me).
To quote an informative article:
So what’s the magic?
Something called Secure Erase, a set of commands embedded in most ATA drives built since 2001. If this is so wonderful, why haven’t you heard of it before? Because it’s been disabled by most motherboard BIOSes.
Secure Erase is a loaded gun aimed right at your data. And Murphy’s Law is still in force. But hey, if you’re smart enough to read Storage Bits, you’re smart enough to not play with Secure Erase until you need to.
How does Secure Erase work?
Secure Erase overwrites every single track on the hard drive. That includes the data on “bad blocks”, the data left at the end of partly overwritten blocks, directories, everything. There is no data recovery from Secure Erase.
Says who?
The National Security Agency, for one. And the National Institute for Standards and Testing (NIST), who give it a higher security rating than external block overwrite software that you’d have to buy. Update: There is an open source external block overwrite utility called Boot and Nuke that is free.
Secure Erase is approved for complying with the legal requirements noted above.