How do I erase a hard drive?

August 8, 2008 at 10:32 am | In Linux | Leave a Comment

dd is a handy tool used for making copys. It can also be used to quite securely wipe harddrives:

for (( i = 0;i<10;i++ )); do

  dd if=/dev/random of=dev/hda && dd if=dev/zero of=/dev/hda

done

This will overwrite your entire hard drive (in this case seen as hda by Linux) with random information ten time

No Comments Yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.