Skip to main content

All Questions

Tagged with
1 vote
2 answers
6k views

Why does dd give me an error at the end of zero-writing a disk?

I'm running Cygwin on Windows 7. I was using the following dd command to securely erase a 1TB mechanical disk: dd if=/dev/zero of=/dev/sde bs=4M status=progress About 2 and a half hours into the ...
Hashim Aziz's user avatar
  • 13.1k
2 votes
1 answer
8k views

Is the blocksize important when wiping a disk with dd and zeros

I used dd if=/dev/zero of=/dev/sda bs=4096 For wiping a disk. Can be the blocksize a security risk or is it just speeding the thing up. Sorry for my bad english
Emil Engler's user avatar
1 vote
1 answer
1k views

How to securely erase HPA, DCO, and any bad sectors of a SCSI HDD

Does dd if=/dev/zero of =/dev/cciss/c0d0 bs=1M wipe over the HPA, DCO, and any bad sectors?
oshirowanen's user avatar
  • 1,740
5 votes
1 answer
16k views

Securely wiping a drive with DD, /dev/zero or /dev/urandom?

I have to securely wipe all data from a hard drive as I'm going to give it away. I plan on using the dd under linux utility to do so, after a little bit of research, I found two ways of doing so: dd ...
Informancien's user avatar
15 votes
3 answers
40k views

Complete wiping of hard drive - shred, wipe or dd?

I need to wipe all data of a number of hard drives, from Ubuntu Linux. I have found three command line tools: shred, wipe and dd. It seems kind of random what people recommend. Sometimes someone ...
Mads Skjern's user avatar
  • 1,499
3 votes
2 answers
3k views

Difference between DBAN and dd command to securely wipe a HDD

I have read about dd and see that it can be used to securely wipe a HDD. But there is also a program called DBAN to wipe the HDD as well. I know that using a live gnu-linux ISO I can wipe my HDD by ...
destan's user avatar
  • 1,147
4 votes
2 answers
5k views

Checking if any data exists on a presumably empty storage device

So, say you've completed a full pass of: dd if=/dev/zero of=/dev/sdX bs=1M Then, you'd like to make sure the destination has been really zeroed out (ignoring the confirmation messages from dd and ...
XXL's user avatar
  • 1,469