Follow this blog:
RSS
Email Alert

DIY IT Guy

DIY: Destroy data on drives via a Linux live distro

Takeaway: Jack Wallen answers some TechRepublic members’ questions about how to destroy data on a drive without destroying the drive.

There are times when you need to destroy data on a drive but not destroy the drive itself. I’ve been asked a couple of times about the best way to do this, and the answer to this question is pretty simple.

You want to make use of a Linux live distribution like Puppy Linux. Booting that live distribution will allow you to use the included tools on the drive without having to bother with mounting/unmounting the drive. Once you have booted into Puppy Linux on that machine, you want to make use of the shred command; this command will permanently and completely delete the data from the drive. Here’s how you do it:

  1. Find out the drive letter (such as /dev/hda) to be shredded.
  2. Open a terminal window in Puppy Linux.
  3. Issue the command shred -vfz -n 100 /dev/hda. The command will:
    • use the n option and do 100 passes.
    • use the z option to overwite data with zeros.
    • use the f option as a force (when admin permissions are necessary).
    • use the v option for verbose mode.
  4. Once this is complete, you can then use a tool like gparted to format that drive to further ensure the data is removed.

After these tasks are complete, you will have a drive that will be an amazing challenge to extract data from — if it is even possible at all.

Ask Jack: If you have a DIY question, email it to me, and I’ll do my best to answer it. (Read guidelines about submitting DIY questions.)

Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free newsletters.

Jack Wallen

About Jack Wallen

A writer for over 12 years, Jack's primary focus is on the Linux operating system and its effects on the open source and non-open source communities.

Jack Wallen

Jack Wallen

Jack Wallen is an award-winning writer for Techrepublic and Linux.com. As an avid promoter/user of the Linux OS, Jack tries to convert as many users to open source as possible. His current favorite flavor of Linux is Bodhi Linux (a melding of Ubuntu and Enlightenment).

When Jack isn't writing about Linux he is hard at work on his other writing career -- writing about zombies, various killers, super heroes, and just about everything else he can manipulate between the folds of reality. You can find Jack's books on Amazon, Barnes & Noble, and Smashwords.

Outnumbered in his house one male to two females and three humans to six felines, Jack maintains his sanity by riding his mountain bike and working on his next books. For more news about Jack Wallen, visit his website Get Jack'd.

13
Comments

Join the conversation!

Follow via:
RSS
Email Alert