[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] wiping a HDD clean



On Mon, 29 May 2000, Doug Stalker wrote:

> 
> Using linux, how do I wipe a HD completly clean and then verify it has
> no bad sectors?  Also, what is the best way to produce an exact copy of
> a HDD?  (Assuming they are the size size/format drive and they are both
> connected to teh one system)
> 
> I have a feeling that the dd command can do both of these, but the man
> page for dd doesn't help much and I'd rather not us etrial and error for
> something like this.  :)

To format: man mke2fs 

e.g. mke2fs -c /dev/whatever

but this installs the ext2 fs as well.
Anyone know if mke2fs -n does just the format?

Also: man badblocks

To copy: dd

Trial and error shouldn't hurt on a disk you're formatting
from scratch. Best way to learn. 



--
Rick Welykochy || Praxis Services


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text