PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 24, 2012, 06:28:22 AM


Login with username, password and session length


Pages: [1] 2 3 4   Go Down
  Print  
Author Topic: How To Wipe Hard Drive Safely  (Read 1493 times)
silverbirch
Sr. Member
****
Offline Offline

Posts: 363



« on: December 25, 2011, 06:17:29 PM »

Hi everyone

I have a friend who is a psychotherapist and needs to wipe the hard drive of her old computer before either selling it, or disposing of it.  It's important the data is removed so it cannot be retrieved.  I thought a live Linux CD could be used for this, but my googling says an expert could still retrieve the files.

Can anyone help with other methods of clearing the drive.  Dban was another method mentioned, but the information from the website isn't very good.  The computer is an HP Pavillion I think, running WinXP.

Many thanks.
Logged

Pclinuxos 2010.1 KDE on AMD Athlon XP (runs as1.8 Ghz), 1 G memory, on board VIA graphics and sound
T6
Super Villain
******
Offline Offline

Posts: 16942


i can rest now :D


« Reply #1 on: December 25, 2011, 06:29:00 PM »

there is many ways to do this securely and without destroying the hard disk

dariks boot and nuke on www.dban.org will do that job nicely

there was a article in zdnet with other options but is old

basically any app that can overwrite the entire hard disk surface 7 times is legally doing the job you want in a impossible to undo way

others say that you need to do this 34 times but i think that it is paranoic

this is another method on this old article

http://www.zdnet.com/blog/storage/how-to-really-erase-a-hard-drive/129

another article talking about dban

http://ask-leo.com/how_should_i_erase_my_hard_drive_before_i_give_it_away.html

more information on another article

http://www.webopedia.com/DidYouKnow/computer_science/2007/completely_erase_harddrive.asp
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
silverbirch
Sr. Member
****
Offline Offline

Posts: 363



« Reply #2 on: December 25, 2011, 08:33:43 PM »

OK - thanks for that.  I've read most of that stuff and found leo's easiest to follow.  So will offer to attempt the dban method for her.  It seems simple the way he explains it - just a matter of following some prompts.

Many thanks.
Logged

Pclinuxos 2010.1 KDE on AMD Athlon XP (runs as1.8 Ghz), 1 G memory, on board VIA graphics and sound
T6
Super Villain
******
Offline Offline

Posts: 16942


i can rest now :D


« Reply #3 on: December 25, 2011, 08:40:29 PM »

glad to help  Smiley
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15191


LXDE! Coffee, Bacon and Cheesecake!


« Reply #4 on: December 26, 2011, 06:15:45 AM »

I've used dban before. It did an excellent job.     
Logged

aguila
Hero Member
*****
Offline Offline

Posts: 936


soaring high = no Windows here :-D


« Reply #5 on: December 26, 2011, 03:16:55 PM »

+1 to DBAN, a liveCD.

Uses methods used by the CIA or military. www.dban.org iirc
Logged

All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, 160 GB HDD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4587


MLUs Forever!


« Reply #6 on: December 26, 2011, 03:44:47 PM »

The livecd can do it quite easily ......  use the command   dd   to write zeros to the complete drive.

After that nobody can recover anything from it, as it is all overwritten.

Code:
dd  if=/dev/zero  of=/dev/sdX

where 'X' is the drive in question.

It does take some time ....  depending on the size of the drive amongst other things.

regards

EDIT:
           In case anyone wishes to question the above, all I would ask is that you try to find ANY incident of any files being recovered from a drive that was wiped in such a fashion, and provide a link.
  Other, multiple wipes methods, may have been prudent many many years ago, when dealing with the likes of floppy diskettes and such.
As far as I am aware there is no recorded and verified incident of even one file being recovered from a modern HDD which was written completely with zeros.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5677


I don't do Windows


« Reply #7 on: December 26, 2011, 03:56:40 PM »


As far as I am aware there is no recorded and verified incident of even one file being recovered from a modern HDD which was written completely with zeros.


+1
The Great Zero Challenge Remains Unaccepted
Logged

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15191


LXDE! Coffee, Bacon and Cheesecake!


« Reply #8 on: December 26, 2011, 03:58:08 PM »

That is correct, as far as I know. Writing the drive to all zeros is what dban does, I believe.    

Following Just18's advice would be the quickest/easiest solution, IMO.    
Logged

AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4084

Have a nice ... night!


« Reply #9 on: December 26, 2011, 04:11:03 PM »

The livecd can do it quite easily ......  use the command   dd   to write zeros to the complete drive.

After that nobody can recover anything from it, as it is all overwritten.

Code:
dd  if=/dev/zero  of=/dev/sdX


+1, for performance reason add the option bs=1M, will overwrite using 1MB chunks instead of one byte block at a time  Wink

EDITED!
Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4587


MLUs Forever!


« Reply #10 on: December 26, 2011, 04:22:49 PM »

The livecd can do it quite easily ......  use the command   dd   to write zeros to the complete drive.

After that nobody can recover anything from it, as it is all overwritten.

Code:
dd  if=/dev/zero  of=/dev/sdX


+1, for performance reason add the option bs=1M, will overwrite using 1MB chunks instead of one byte at a time  Wink

Quite probably .......  but I have never had a change to see what the performance gain would be ......  do you have any info on that when using the  dd  command on a complete drive?

Thanks  Wink
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4084

Have a nice ... night!


« Reply #11 on: December 26, 2011, 04:37:39 PM »

The livecd can do it quite easily ......  use the command   dd   to write zeros to the complete drive.

After that nobody can recover anything from it, as it is all overwritten.

Code:
dd  if=/dev/zero  of=/dev/sdX


+1, for performance reason add the option bs=1M, will overwrite using 1MB chunks instead of one byte at a time  Wink

Quite probably .......  but I have never had a change to see what the performance gain would be ......  do you have any info on that when using the  dd  command on a complete drive?

Thanks  Wink

I have tried and used it in the past, but don't have available data right now, the difference is mostly because of the overhead introduced by the higher number of write calls when using a small block size, like can be a 512 byte block of a classical hard disk, number that will be 2000 times higher in that case compared to a 1M block size.

AS

EDIT: "will overwrite using 1MB chunks instead of one byte block at a time"


Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4587


MLUs Forever!


« Reply #12 on: December 26, 2011, 04:55:07 PM »

The livecd can do it quite easily ......  use the command   dd   to write zeros to the complete drive.

After that nobody can recover anything from it, as it is all overwritten.

Code:
dd  if=/dev/zero  of=/dev/sdX


+1, for performance reason add the option bs=1M, will overwrite using 1MB chunks instead of one byte at a time  Wink

Quite probably .......  but I have never had a change to see what the performance gain would be ......  do you have any info on that when using the  dd  command on a complete drive?

Thanks  Wink

I have tried and used it in the past, but don't have available data right now, the difference is mostly because of the overhead introduced by the higher number of write calls when using a small block size, like can be a 512 byte block of a classical hard disk, number that will be 2000 times higher in that case compared to a 1M block size.

AS

EDIT: "will overwrite using 1MB chunks instead of one byte block at a time"




I can understand that it could use less PC resources ...  less write instructions, but would not have considered it would be any quicker to complete ....  or at least not much quicker.

But, as I said, I never had the opportunity to test it.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech ‎DVB-T 2 USB DTT
pupthai
Hero Member
*****
Offline Offline

Posts: 1246

PCLinuxOS 2011 2 - KDE4


« Reply #13 on: December 26, 2011, 09:16:05 PM »

"either selling it, or disposing of it"

Remove the drive and use a 3lb hammer, then a trash bin.  Selling it with no or a new drive or dispose of it as a donation minus a drive, but dd would work too for most of us.  It is a write off for a professional.

I don't even have that kind of Data and have never let go of a PC with a drive or disposed of a worthless PC with the drive in it.  It would appear now that many politicians don't even return State PC's with the drive in them ether, they pay for the drive and keep or hammer it - it is in many State laws that they can do that.  You never really know about media and what might have hidden and protected itself in there, if it ever ran on a win box would you really trust it again?
Logged

PCLinuxOS 2011 2 - KDE4
Intel 2 core duo @3.22gig, Asus P5G41/M, DDR2/1066 4gig, ENGT220 DDR3/1gig, 2x Seagate 250gig.
silverbirch
Sr. Member
****
Offline Offline

Posts: 363



« Reply #14 on: December 26, 2011, 10:01:58 PM »

Okay - a question, just so I'm sure.  From what I read here it was a matter of following options:  http://ask-leo.com/how_should_i_erase_my_hard_drive_before_i_give_it_away.html BUT I could instead at the prompt enter the code:
dd    if+/dev/zero    of=/dev/sdX   (with or without ) bs=1M

Thanks again.
Logged

Pclinuxos 2010.1 KDE on AMD Athlon XP (runs as1.8 Ghz), 1 G memory, on board VIA graphics and sound
Pages: [1] 2 3 4   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM