I
I
Igor2012-11-25 17:38:46
linux
Igor, 2012-11-25 17:38:46

How to securely delete data from a hard drive?

I want to securely delete data from the hard disk by connecting it as a slave. Using Ubuntu. I read here

that you can do it like this:

dd if=/dev/zero of=/dev/sda bs=4k


Will this really be enough to protect against recovery?

Answer the question

In order to leave comments, you need to log in

14 answer(s)
A
Ad3pt, 2012-11-25
@Ad3pt

There is another option: shred /dev/sdb Differs from dd in displaying progress and the ability to adjust the number of “passes”

G
Gribozavr, 2012-11-25
@gribozavr

bs=4M, so several times faster.

S
Stanislav Oskolkov, 2012-11-25
@klikalka

Yes, just remember to specify the correct drive when doing so. It is better to format the disk first, and then to score with zeros.
There are also wonderful /dev/random and /dev/urandom
But you'll have to wait =)

S
sparhawk, 2012-11-25
@sparhawk

man shred

E
egorinsk, 2012-11-26
@egorinsk

But the most reliable way is not to put questionable data on the disk.

D
Dragonizer, 2012-11-26
@Dragonizer

Take a look at the wiki://Gutman Method , specifically the #Technical Basics and #Criticism sections , to see if you need anything more than just overwriting with zeros.

F
FilimoniC, 2012-11-25
@FilimoniC

Darik's Boot and Nuke Live CD
"Erasing" discs according to standards
To calm paranoia

L
lubezniy, 2012-11-26
@lubezniy

Generally speaking, all these are not options for a real paranoid. In detail, no manufacturer publicly recognizes its proprietary recording technology used in a particular disk model, and therefore it is problematic to choose the best way to destroy data. I remember that on Habré it slipped what the same Google does with old hard drives. These are the options (including those with respect to disks that have failed) and are applicable. At home, as a cheaper replacement, in principle, the use of screwdrivers-pliers-hammer-skins will do.

N
Nadz Goldman, 2012-11-26
@nadz

Yes, this option is quite acceptable.
Especially several times in a row with different block sizes.
Along the way, specify /dev/random or /dev/urandom as the source location

D
dlinyj, 2012-11-26
@dlinyj

It is more reliable only to erase magnetically.

P
Perkov, 2012-11-26
@Perkov

delete with 100% reliability - only "HDD shredder".

A
afiskon, 2012-11-26
@afiskon

From wipe software for example. Although your trick will also work, it's better to use it three times, alternating between /dev/zero and /dev/random.
And before I throw away the disc, here's what I do with it: pic.twitter.com/1353T3qZ It can't be more reliable!

C
charon, 2012-11-27
@charon

According to the standards, it is considered that a single overwrite with zeros is not very reliable. Preferably with at least random data, ideally several times.

N
Nikolai Turnaviotov, 2012-11-30
@foxmuldercp

If the screw is no longer needed - it has died, for example, then either take it apart and have fun by playing with plates and ordinary magnets that will interrupt the picture of the magnetic field, or into an acid bath

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question