Re: dd to zero a harddrive


Subject: Re: dd to zero a harddrive
From: Mike Tibor (tibor@lib.uaa.alaska.edu)
Date: Tue Sep 24 2002 - 14:10:08 AKDT


On Tue, 24 Sep 2002, Mike Barsalou wrote:

>
> I think we had already talked about this before, however, I don't remember
> how a person decided the number of blocks to use?
>
> Should I use fdisk or something similar to see?
>
> anyone got any good ideas?
>
> We are going to surplus a few machines and I want to zero them and install
> RH 7.3 on them.

The simplest way would probably just be "cat /dev/zero > /dev/hda" or
something like that. For a little more security, you could do "cat
/dev/urandom > /dev/hda" multiple times, but realistically the first one
should be just fine.

You don't need to worry about how many blocks to write, because cat (or
dd) would simply write as many as it could and then quit.

Mike

-- 
Mike Tibor         Univ. of Alaska Anchorage    (907) 786-1001 voice
Network Technician     Consortium Library         (907) 786-6050 fax
tibor@lib.uaa.alaska.edu       http://www.lib.uaa.alaska.edu/~tibor/
http://www.lib.uaa.alaska.edu/~tibor/pgpkey  for PGP public key

--------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Sep 24 2002 - 14:10:11 AKDT