[Ilugc] Overwriting hard disk

  • From: tshrinivasan@xxxxxxxxx (Shrinivasan T)
  • Date: Wed Dec 10 23:15:46 2008

2008/12/10 Arun Khan <knura@xxxxxxxxx>:

One of my hard disk is showing symptoms of impending failure. Before
sending it for replacement, I would like to blank out the entire disk
(80GB in my case).

Is the following sufficient?
dd if=/dev/zero of=/dev/sdb1 bs=1K count=78148161  (sdb1 is the entire
disk - MBR)



dd is fine.

Yo can use "shred" also.



-- 
dear,
T.Shrinivasan


My experiences with Linux are here
http://goinggnu.wordpress.com

For Free and Open Source Jobs
http://fossjobs.wordpress.com

Other related posts: