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

Re: Clear HDD of old OS, etc?



>> I am looking for a quick way to clear an HDD of old data, partitions,
>> etc.
>>
> I don't see any mention of removing data for strong security concerns,
> so I will assume that you just want to recycle the drive for another
> purpose.  I would recommend running fdisk, removing the partitions and
> simply use the drive in your new application.

By the way, if you want to wipe the drive completely, ie for security
reasons, just cfdisk, delete all partitions, create one big linux
partition, and run 'mke2fs -c -c /dev/hdX'. It will write (and read) four
patterns (0xaa, 0x55, 0x00 and 0xff, iirc) to the whole disk, to check
for bad blocks.


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



Reply to: