Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

When I use DBan will it nuke USB drives and all my partitions?


I’ve downloaded DBan and will be using it soon before donating my laptop, but
I have one question. You said DBan will nuke every drive it sees (which included
anything plugged into a USB port). My hard drive is partitioned and most data is
on one of two partitions. Will those two partitions also be nuked?

In this excerpt from
Answercast #20
, I look at the way DBan finds drives to erase, including


Nuking USB drives

So, I’m not quite sure how the USB portion of your question relates to the partition portion of your question.

To be honest, I’m not totally sure that DBan will automatically nuke or erase a USB drive, a drive that’s been connected through a USB connector. It may or may not. That’s something that you need to carefully look at when you run DBan.

  • DBan, in addition to doing things automatically, definitely has an interface that allows you to select specifically what drives to be erased.

You may, in the case of a USB drive, need to specify the drive:

A). Make sure the drive is in fact detected by DBan because USB is one of those scenarios where not all drives are always detected by every distribution of Linux (and DBan is, in fact, a Linux-based distribution.)

b) The other is that you may need to check to make sure that it is in fact visible and… you may need to select it specifically in order to erase it.

Nuking partitions

Now the partition question is actually much simpler. DBan, as I understand it, looks at drives. It looks at a disk drive and erases them at the drive level. It may not even notice that there are partitions on the drive before it erases the entire drive.

So definitely, keep an eye on it.

Make sure you know what you are doing.

Make sure there’s nothing connected to the machine when you run DBan that you don’t want erased. My belief is that it will select a drive and erase everything on that drive including all partitions: be there one, two, or half a dozen.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

1 thought on “When I use DBan will it nuke USB drives and all my partitions?”

  1. There’s HardWipe ( that wipes files AND drives and will do USB drives. It uses logarithms on a scale from one overwrite to DOD specs.


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.