[Ilugc] Overwriting hard disk

Shrinivasan T tshrinivasan at gmail.com
Wed Dec 10 23:15:29 IST 2008

2008/12/10 Arun Khan <knura at yahoo.com>:
> 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.


My experiences with Linux are here

For Free and Open Source Jobs

More information about the ilugc mailing list