2

Possible Duplicate:
Deep Format of a Harddrive on a Linux System

Do you know tools (Linux live CDs, bootable DOS tools) to wipe hard drives?

2

7 Answers 7

9

Dban "Darik's Boot and Nuke ("DBAN") is a self-contained boot disk that securely wipes the hard disks of most computers. DBAN will automatically and completely delete the contents of any hard disk that it can detect, which makes it an appropriate utility for bulk or emergency data destruction."

2

I'll use dd if=/dev/urandom of=/dev/*disk* bs=1024

ISTR that DoD recommends 7 passes, so you could do something like:

for n in {1...7}; do dd if=/dev/urandom of=/dev/*disk* bs=1024; done

Just be careful you get the correct disk or you could really shoot yourself in the foot. If I'm wiping a desktop or laptop I'll boot off a linux liveCD and run dd from that.

1

dd bs=1MB if=/dev/urandom of=/dev/sdX

from a USB bootable key.

0

You can use shred which is installed by default in Ubuntu. So just get a live CD of that.

shred [OPTIONS] filename

or secure-delete (most likely not installed by default)

srm myfile.txt
0

DBAN boot disk

0

I like Darik's Boot and Nuke (DBAN):

http://www.dban.org

Very handy for secure drive wipes!

-1

what's wrong with dd? dd is a tool that comes with (my belief) any linux live/install/repair image.

dd if=/dev/zero of=/dev/diskname

isn't zeroing the disk clean/secure enough? just wondering

6
  • There was something called The Great Zero Challenge that offered a reward for any company that could recover data from a hard drive zeroed out with dd. The reward was never claimed, however that really doesn't say much, as it was a small amount of money, and if you're the conspiracy type person, isn't it better for the public to think that dd is a secure way of wiping a disk?
    – brent
    Oct 13, 2010 at 15:07
  • come on :) you must really be into "something" if your disk is getting such attention (assuming zeroing isn't really zeroing). normal people just need to wipe out their passwords and adult movies and NSA won't spend money for recovering common passwords and bad movies ;)
    – user237419
    Oct 13, 2010 at 15:14
  • Depends on the data being wiped. Supposedly drive recovery companies can get data back from zeroed disks and/or slack space in the drive, but you're talking lots of lots of cash and they are analyzing it on the platter for residual charges. The way to wipe it short of physical shredding is to zero, write data, zero, write it again, repeat several times until even that signature of a charge is irrelevant. There's a document for the military that talks about wiping procedures depending on the information being secured. Oct 13, 2010 at 15:14
  • @Adirau: if the OP works for a bank, medical institution, etc. their data is supposed to be secured for auditing purposes, if nothing else, when retiring hardware. Other institutions having an accidental slip can cost a lot of money if, for example, credit card info slips into someone's latest score of cheap hardware from ebay or dumpster diving. The extra hours wiping the drive is little compared to the potential PR/financial disaster for an organization. Oct 13, 2010 at 15:15
  • what i am saying is that even if zero recovery is doable it probably costs too much to implement. i agree to some point tho. the down vote wasn't necessary. i consider zeroing secure "enough", as i said.
    – user237419
    Oct 13, 2010 at 15:24

Not the answer you're looking for? Browse other questions tagged .