Ever needed to zero fill a HDD or flash key, either because you were having trouble with errant device, or a maybe to delete a virus? Zeroing a hard drive is usually the last resort before either curing or junking. I’ve known KillDisk (http://www.killdisk.com/) to cure unfixable Windows file system errors that CHKDSK alone could not fix.
Two further methods are…
- By using dd under Linux:
dd if=/dev/zero of=/dev/sda bs=1M
WARNING!!! sda = root partition, replace with correct syntax. If unsure try:
(Zeroing will take a while. Check dd process is truly finished with xterm or system monitor of choice.)
For Macintosh see:
- Or alternatively use DBAN: