D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Disk Wiping

 

Dear David,

> I have a few HDDs to wipe prior to replacing them with SSDs. Can anyone
> please recommend a good freebie wiping programme that they have used.

GNU coreutils has a tool for this; it's probably preinstalled already.

A typical command might be:

sudo unmount /dev/sdx && sudo shred --verbose --zero /dev/sdx

where /dev/sdx is the path of the device to wipe.

This will write three passes of random data onto the hard drive, as well
as a final pass of zeros to make it appear as if the hard drive never
had any data on it. If they have a capacity of, say, 500GB, it will
probably take a day to complete: it may be worth doing them concurrently
if your PC has enough SATA ports.

I would personally run this on a live OS, without any storage devices
attached to the PC except the ones to wipe. One can never be too
cautious when using this command - you did want something irreversible,
didn't you? :)

Best wishes,

Sebastian

--
- Freenode: 'seabass'
- Matrix: '@seabass:chat.weho.st'

-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq