Results 1 to 10 of 10

Thread: DOD Wipe

  1. #1
    Join Date
    Sep 2007
    Location
    Masschusetts
    Beans
    1,510
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    DOD Wipe

    Pardon the newbie question. I've been searching for a few hours now and I'm more confused than when I started...

    I told I friend I'd figure out how to DOD wipe his Hard Drive for him. I was under the impression that it involved two formats writing zeros to every bit, three writing randoms, and two more writing zeros, and running a checksum between each step.

    I assumed I'd be able to do this using a live cd, probably knoppix. Can someone point me to a howto, or give me some pointers on how I might do this? I assumed I could use fdisk. I'm not quite sure how to run a checksum, or really what it would even tell me.

    Any help would be greatly appreciated.
    Registered Linux User: 482377
    MacBook (1,1) - OS X Leopard
    ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional

  2. #2
    Join Date
    Jan 2007
    Location
    Brighton, UK.
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: DOD Wipe

    It would be a lot easier to just use http://dban.sourceforge.net/.

    Download the iso burn up a CD and boot from it.

    It pretty much has all of the HDD wiping methods that you need.
    The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he, by peddling second-rate technology, who led them into it in the first place.
    DA

  3. #3
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: DOD Wipe

    basically you can use this:

    Code:
    sudo dd if=/dev/urandom of=/dev/sdX
    I think "sudo" won't be necessary on Knoppix live cd and of (output file) will be the harddisk he wants to have wiped. This operation will take a looong time but IMHO securely deletes eveything... just make sure that /dev/sdX is the actual drive/partition and that it's not mounted.

  4. #4
    Join Date
    Sep 2007
    Location
    Masschusetts
    Beans
    1,510
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: DOD Wipe

    Ok. I need to look into what urandom is, because the way I understand that, it would be copying urandom to the hard disk (I'm obviously off on something, because I know it actually rights random numbers to every bit)... also, will this cause any problems as far as mounting the drive after this completes in order to format ntfs for a windows install?? Do I need to clear the first part of the drive for the partition table?
    Registered Linux User: 482377
    MacBook (1,1) - OS X Leopard
    ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional

  5. #5
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: DOD Wipe

    it will just overwrite the whole thing with randon data.... however generating them takes long.... once it's done, you'll just need to format it to whatever filesystem you want... or rather you first need to create a partition and then format it...

  6. #6
    Join Date
    Sep 2007
    Location
    Masschusetts
    Beans
    1,510
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: DOD Wipe

    alright, thanks for the help, I'm going to give it a try on an old drive I have laying around first.
    Registered Linux User: 482377
    MacBook (1,1) - OS X Leopard
    ASUS P5LD2 - Core 2 Duo 3.0GHz - 2GB Corsair RAM - Nvidia 8800GT - Ubuntu 9.04 / Windows 7 Professional

  7. #7
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: DOD Wipe

    just make sure you select the rigth drive/partition with of=/dev/sdX...

  8. #8
    Join Date
    Aug 2005
    Location
    Sydney, Australia
    Beans
    456
    Distro
    Ubuntu Development Release

    Re: DOD Wipe

    Quote Originally Posted by WorldTripping View Post
    It would be a lot easier to just use http://dban.sourceforge.net/.

    Download the iso burn up a CD and boot from it.

    It pretty much has all of the HDD wiping methods that you need.
    I second this. dban is incredibly simple to use for clearing HDDs, and it's a lot faster if you have multiple drives to clear.

  9. #9
    Join Date
    Apr 2007
    Location
    Kuala Lumpur, Malaysia
    Beans
    579
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: DOD Wipe

    I support the dban option too. download it, burn to CD, boot and say bye bye to whatever you want wiped

  10. #10
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,814

    Re: DOD Wipe

    Here is the right way to erase a disk drive:
    http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml

    Any other method will leave some data behind.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •