[Ilugc] Overwriting hard disk
Kapil Hari Paranjape
kapil at imsc.res.in
Wed Dec 10 23:11:19 IST 2008
On Wed, 10 Dec 2008, Arun Khan wrote:
> 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)
I think you should probably blank /dev/sdb rather than /dev/sdb1.
Also if the person who buys your disk wants to analyse it
magnetically and has the equipment to do so :) then this is not
In that case you need to run something like "shred".
More information about the ilugc