How to Zero Fill a HDD

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:

sudo blkid

(Zeroing will take a while.  Check dd process is truly finished with xterm or system monitor of choice.)

For Macintosh see:

http://www.gingerbeardman.com/dd-gui/

  • Or alternatively use DBAN:

http://www.geekornerd.com/2009/06/30/how-to-zero-write-any-hard-drive/

Advertisements
This entry was posted in Apple, Hardware, Linux, Windows and tagged , , , , , . Bookmark the permalink.

Holler!!!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s