Results 1 to 5 of 5

Thread: Wiping a drive - DBAN or encryption ??

  1. #1
    Join Date
    Dec 2005
    Beans
    Hidden!
    Distro
    Kubuntu

    Wiping a drive - DBAN or encryption ??

    Have an old Dell laptop, 10 years old, now rettired as it was giving so many problems. So, I usually use DBAN to wipe a drive. It takes a very long time. What about wiping the drive with GParted, then encrypt the whole drive. Won't that be more secure ??

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Wiping a drive - DBAN or encryption ??

    More secure?

    Data wiping standards have evolved over time. Even for DoD data wiping standards.

    Magnetic storage standards used to be to fill/write all the blocks with a predetermined binary character, 3-7 times. Later it was found that once is sufficient, and prevents prematurely shortened lifespan, especially on later SSD type drives, where they are built much differently. On almost all SSD's, their firmware has a secure erase feature. Use sparingly.

    On Linux, if HDD, why not just use dd to zero-fill the drive? Be careful to specify the 'correct' device.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Dec 2005
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Wiping a drive - DBAN or encryption ??

    Quote Originally Posted by MAFoElffen View Post
    On Linux, if HDD, why not just use dd to zero-fill the drive? Be careful to specify the 'correct' device.
    Thanks, it is for a HDD and it is the only drive on that laptop, So this should do the trick

    Code:
    $ sudo dd if=/dev/zero bs=1M of=/dev/sda

  4. #4
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,794

    Re: Wiping a drive - DBAN or encryption ??

    If you wish to use the drive again with a Windows machine, then zero fill is best. Windows will then think that it is a shiny new never used drive. If you are a Linux nerd and like random numbers, use /dev/urandom in the above post.

  5. #5
    Join Date
    Dec 2005
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Wiping a drive - DBAN or encryption ??

    Quote Originally Posted by HermanAB View Post
    If you wish to use the drive again with a Windows machine, then zero fill is best. Windows will then think that it is a shiny new never used drive.
    Thanks, but the HDD, having 10 years of usage, it starting to fail.

    Quote Originally Posted by HermanAB View Post
    If you are a Linux nerd and like random numbers, use /dev/urandom in the above post.
    Okay, will do. It may take 8 to 10 hours, it's a 1Tb HDD, but that's okay.

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
  •