Overwrite existing partition with zeros without hurting partition table? (Debian Lenny)
I hope there is a simple answer to this question (fingers crossed): how do I overwrite an existing partition (hda2 for example) with all zeros (essentially blanking the partition clean in preparation for installing Lenny), without destroying the partition table? I've used the shred command to wipe partitions before, but it messes up the partition table along with it. The purpose is that I have a 200gb hard drive with music/pics/etc. on a separate partition from the OS that I will mount via fstab upon boot. I've searched around and the dd command can probably do it but haven't gotten the command line to do it. Any thoughts?
Thanks in advance,