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

Re: Clear HDD of old OS, etc?



On 31-May-2002 Dave Price wrote:
> Hi,
> 
> I am looking for a quick way to clear an HDD of old data, partitions,
> etc.
> 
> I found this on /. thru a google search:
> 
> dd if=/dev/random of=/dev/hdX 
> 
> When i do this from a console shell after booting from a woody install
> disk, It does not seem to work ... i.e. I can still see the old
> partition table in fdisk ...
> 
> Is there maybe a better dd invocation ?
> 

first, use cfdisk, fdisk, etc to wipe the partition table.  Then send random to
it.

I would be a little leery of random and would use /dev/zero myself.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: