Using Dban

der.hans PLUGd at LuftHans.com
Mon Dec 15 22:16:44 MST 2014


Am 15. Dez, 2014 schwätzte Bryan O'Neal so:

moin moin,

> Not a fan of dban for that reason. Nwipe using several passes of the rcmp
> method is how I usually wipe a drive. The I format it a few times with

I forgot about nwipe.

> random file systems and a few partitions and finally drop a fresh OS on it
> before donating. If recycling I typically do one pass with nwipe and take
> the drive apart.

I also forgot about the suggestion to put a new OS on it at some point in
the middle, then wipe some more and finally put a fresh OS on it before
donating.

ciao,

der.hans

> On Dec 15, 2014 9:54 PM, "der.hans" <PLUGd at lufthans.com> wrote:
>>
>> Am 14. Dez, 2014 schwätzte Stephen M so:
>>
>> moin moin,
>>
>>
>>> There is a problem using dban.  When I started it up it never gave me
>>> options on what to scan.  Now my two SATA drives along with my USB drive
>>> are not working.  I need help to understand what is going on please.
>>
>>
>> dban wipes every drive it can find.
>>
>> The website says, "It automatically deletes the contents of any hard disk
>> that it can detect."
>>
>> http://www.dban.org/
>>
>> Sounds like something to avoid unless you need to set up a disassembly
>> line and just rip through whatever gets connected.
>>
>> ciao,
>>
>> der.hans
>>
>>
>>> On Sun, Dec 14, 2014 at 11:32 AM, Stephen Partington <
> cryptworks at gmail.com>
>>> wrote:
>>>>
>>>>
>>>> Todd thanks. I am filing this away for my own use later.
>>>>
>>>> On Sun, Dec 14, 2014 at 11:26 AM, Todd Millecam <tyggna at gmail.com>
> wrote:
>>>>>
>>>>>
>>>>> Oh, if it's SSD drives, don't do it this way, this is solely for
>>>>> plattered drives.  If you are using an SSD, then you just need to
> issue a
>>>>> secure command to the drive and tell it to wipe itself--which you can
> do
>>>>> through hdparm:
>>>>>
>>>>> $~ hdparm --user-master u --security-set-pass PasSWorD /dev/sda  #sets
> up security on the drive
>>>>>
>>>>> $~ hdparm --user-master u --security-erase PasSWorD /dev/sda # the
> point of no return delete everything on your SSD drive command
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Dec 14, 2014 at 11:00 AM, Todd Millecam <tyggna at gmail.com>
> wrote:
>>>>>>
>>>>>>
>>>>>> There's a lot of ways to do it, but they all do the same thing.
>>>>>> In bash:
>>>>>> $~ shred -zn10 /dev/sda
>>>>>>
>>>>>> That'll securely erase everything on block device /dev/sda--give it a
>>>>>> while to run as it's writing random numbers across the entire drive
> and
>>>>>> then finishing by writing nothing but 0s on it.  This makes all data
> on the
>>>>>> device non-recoverable.
>>>>>>
>>>>>> You need to overwrite the data anywhere from 4 - 15 times before it's
>>>>>> clean and nothing can be recovered from it.
>>>>>>
>>>>>> That's essentially all dban/wipe is doing.  If you want to get even
> more
>>>>>> primitive, then you can use dd (garunteed to be on all *nix systems)
>>>>>> $~  dd if=/dev/random of=/dev/sda && dd if=/dev/zero of=/dev/sda
>>>>>>
>>>>>> That's the same as doing one pass, but if shred is there (and it
> usually
>>>>>> is) then it'll do all 10 passes for you.  I guess you could just
> throw that
>>>>>> dd command in a simple loop:
>>>>>> $~  for i in `seq 10` ; do dd if=/dev/random of=/dev/sda && dd
>>>>>> if=/dev/zero of=/dev/sda ; done
>>>>>>
>>>>>>
>>>>>> Dban or wipe will do all this for you, but you can do it yourself.
>>>>>> (Note, don't do it on the currently-running OS drive, because it'll
>>>>>> eventually erase glibc.so being used to do the overwrite.  If you
> want to
>>>>>> do it on multiple drives, just plug them all into the same computer,
> and
>>>>>> run shred on all of them from a live-cd of your chosing)
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sun, Dec 14, 2014 at 10:27 AM, Stephen M <smelheim85 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> HI,
>>>>>>>
>>>>>>> I have a couple drives that I want to wipe and give them to the Loco
>>>>>>> group.  I have never done a wipe on my own computer.  I want to see
> whats
>>>>>>> the best method.  I know there is dban, wipe, and many other
> solutions.  I
>>>>>>> will be using a SATA to USB adapter so I don't have to open my
> computers
>>>>>>>
>>>>>>> What I need to know is there a way to use that device and still work
> on
>>>>>>> my computer.  Or do I have to let my computer run dban or whatever
> to wipe
>>>>>>> the drive.
>>>>>>>
>>>>>>> Thanks all.
>>>>>>>
>>>>>>> --
>>>>>>> Stephen Melheim
>>>>>>> 602-400-7707
>>>>>>> SMelheim85 at gmail.com
>>>>>>>
>>>>>>> ---------------------------------------------------
>>>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Todd Millecam
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Todd Millecam
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>> --
>>>> A mouse trap, placed on top of your alarm clock, will prevent you from
>>>> rolling over and going back to sleep after you hit the snooze button.
>>>>
>>>> Stephen
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>>
>>
>> --
>> #  http://www.LuftHans.com/        http://www.PhxLinux.org/
>> #  Keine Ahnung, was ich dir sagen soll,
>> #  keine Ahnung und keinen (.)plan. -- die Toten Hosen
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

-- 
#  http://www.LuftHans.com/        http://www.PhxLinux.org/
#  "Life is pain, Highness! Anyone who says differently is selling something."
#   -- Dread Pirate Roberts in The Princess Bride


More information about the PLUG-discuss mailing list