How to completely wipe all of the data from your hard drive

by Ross McKillop on September 11, 2007

Security

This tutorial will guide you in using Darik’s Boot and Nuke (”DBAN”) - to securely wipe (delete) all of the data from your hard drive. Why would you want to securely wipe all of the data on your drive? Perhaps you’re selling your computer, donating it to charity, or recycling it. Before you do so, consider this - even when you delete files, they’re not actually removed from your hard drive. Using data recovery tools, many files can be restored from the average hard drive. In fact, even after a hard drive has been formatted, data can be recovered from it. Using DBAN “prevents or thoroughly hinders all known techniques of hard disk forensic analysis”.

  1. Start by downloading the DBAN .iso to create a boot CD, or the floppy disk version. If you need help creating a boot CD from the .iso file, see this tutorial.
  2. After you’ve made the boot CD or floppy, set your computer to boot from that drive.
  3. Insert the CD or floppy, and boot your computer. You’ll be presented with the DBAN overview screen.
  4. dban
    click to enlarge

  5. NOTE: you are now about to completely erase the contents of your hard drive, this is your last chance to back out. At the boot: prompt, type autonuke and hit enter.
  6. dban
    click to enlarge

  7. DBAN will start up.
  8. dban
    click to enlarge

  9. And begin to wipe your hard drive. The time it takes to completely wipe your hard drive varies depending on its size and speed.
  10. dban
    click to enlarge

  11. Once DBAN has wiped your drive, you’ll be presented with a “DBAN succeeded” window. If you have a floppy in your floppy drive, you can hit ENTER to save a log file of the DBAN wipe. That’s it - you’re done.
  12. dban
    click to enlarge

Related Posts:
  • Oct. 2007 Summary and a couple of site updates
  • How to securely clean up data on a hard disk on Linux
  • How to wipe the data from your BlackBerry Pearl
  • How to format a USB thumb drive in Windows
  • How to format and mount a USB hard drive in Linux
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

     

    You can always opt out of this email subscription at any time.

    { 8 trackbacks }

    Radian Compliance Management Services » Blog Archive » Hitting Delete Is Not Enough
    09.27.07 at 9:30 am
    Gutsaw » Blog Archive » How to completely wipe all of the data from your hard drive
    10.13.07 at 3:43 pm
    Hitting Delete Is Not Enough - Network Sentry
    10.17.07 at 11:00 am
    Bits-N-Pieces (10-28-07)
    10.28.07 at 1:48 pm
    Simplehelp » Blog Archive » Oct. 2007 Summary and a couple of site updates
    11.02.07 at 9:29 am
    15 Portable Apps to Help Troubleshoot PC’s - Simple Help
    07.21.08 at 2:50 pm
    Trusted security tools & resources « evilfantasy’s blog
    03.03.09 at 4:04 pm
    Cocktail party geek: Me, Myself and My Old Machine « just an asterisk *
    04.06.09 at 9:07 am

    { 22 comments… read them below or add one }

    1 CDriK 09.29.07 at 3:33 pm

    Nice n simple way to securely erase DD, good.

    2 Master Employment 10.04.07 at 6:54 am

    I think that to make 300% sure that your docs are gone, you better physically destroy your hard drive.

    3 Joe 10.12.07 at 6:37 pm

    Another alternative is to install Windows ;?

    4 Kruton 10.25.07 at 10:08 pm

    I think that to make 300% sure that your docs are gone, you better physically destroy your hard drive.

    If only there weren’t tools that can recover data from hard drives that were smashed or in floods or fires.

    5 jack dawson 07.19.08 at 5:42 am

    if the disk size is say 40 GB, how long will it take DBAN to do its work ?

    6 Ross McKillop 07.19.08 at 9:27 am

    @ jack dawson:

    An hour or two - it depends on what level of wipe you choose. I did a “fast” wipe on a 300GB HD a couple of weeks ago, and it took 6 hours, give or take.

    7 George 07.21.08 at 10:19 am

    How complete is the wipe?

    8 Ross McKillop 07.21.08 at 11:19 am

    Without physically melting your hard drive it’s always *technically* possible to recover data. With autonuke it uses 3 passes, which makes
    it impossible for consumer software to recover any data. If the drive was taken to the NSA I’m sure they could recover SOME partial data. In other words, it’s very safe. If you’re really, really paranoid there’s a 7 pass method as well. Though even then, I’m sure the NSA could recover something.

    9 Dan 07.27.08 at 11:41 am

    There is also the 35 pass Guttman wipe. ;) Though you might just end up with a pile of hard drive dust after this one….

    10 Johnny 08.16.08 at 10:25 pm

    Yeah. This is a good way to do it. However, there is a safer option. First install windows vista home basic (or any version of vista). Then, turn off autosave (it usually turns itself off automatically when you are doing something very important but you cant be too sure with windows). Next, do some important work. 3-8 minutes later your computer will have crashed and you are presented with the BSoD (http://en.wikipedia.org/wiki/Blue_Screen_of_Death) and your work wont be saved. You will be so pissed off that you will just smash up your hard drive til their are only protons left. No one can bring it back. Done.

    Heres one I made earlier! http://www.crucialminutiae.com/wp-content/uploads/2007/07/smashed-computer.jpg

    Hope this helps!

    11 Ross McKillop 08.16.08 at 10:42 pm

    Note: The above comment from Johnny was a joke (just in cause you were confused). I didn’t delete it because I actually chuckled when I read it.

    For what it’s worth, Vista runs like a dream on my MacBook Pro (via Bootcamp). It hasn’t crashed once - though I’ll admit I only use it a couple times a week.

    12 Needs Help 08.18.08 at 10:40 am

    If i use this will it return my computer to the way i bought it.Like with the programs it comes with?

    13 Johnny 08.18.08 at 8:18 pm

    Thanks!

    Its a good idea to have vista (or XP in my case) on your mac. Not much need for it but it does come in handy sometimes.

    Tru Dat

    14 ANON 09.28.08 at 3:44 pm

    If i use this will it return my computer to the way i bought it.Like with the programs it comes with?
    no. everything will be permanantly gone. Make sure you have a backup disk handy if you do this or you’ll be screwed.

    15 EL 10.02.08 at 5:10 pm

    if I use the DBAN, and wipe everything off my hard drive, can I still use the operating system reinstallation disk? Is the operating system reinstallation disk the same thing as creating a boot CD?

    16 Ross McKillop 10.02.08 at 5:25 pm

    @EL

    The OS reinstallation disk is a boot CD, yes. Once you use DBAN, your hard drive will be completely wiped clean. No OS, no nothing. If you then boot from your re-install disk, it will prompt you to reinstall the entire operating system (Windows I’m guessing?). Before you use DBAN, make sure to backup anything you don’t want permanently deleted.

    17 mr.blue 12.07.08 at 11:46 am

    este DBAN é espèctaculo,limpei um HDD de 80GB para testar e funcionou altamente tudo a 100%? adorei!!!!,Obrigado por este tutorial.

    18 PDGMAX 12.11.08 at 2:45 am

    Je viens de tester DBAN avec l’image iso fournie en lien sur cette page.
    Cependant impossible de faire fonctionner le logiciel.
    En suivant à la lettre le tuto, je passe du point 5 directement au point 7 (cf illustration du tuto)
    Et le message que j’ai est le suiv

    19 pdgmac 12.11.08 at 2:48 am

    Bonjour,
    impossible de faire fonctionner le logiciel DBAN !!!
    le message d’erreur est le suivant
    DBAN finished with non fatal errors
    This is usually caused by deskes with bad sector.
    Qulqu’un pourrait il m’aider?

    20 Tyson 02.03.09 at 9:42 am

    Only way to be sure…

    http://edrsolutions.com/

    21 chris 04.06.09 at 7:35 pm

    i want to completely wipe my computer but use it again, will i still have my Windows Xp Installed?

    22 John Doe 06.22.09 at 5:39 am

    Inicie el DBan parar borra el disco de 30Gb desde una Notebook y me tira … mas 60hs! Ya paso una hora y solo hizo el 2%… Alguna idea? :-(

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>