Welcome to PCForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Any better way to wipe data from a HDD?

 
   Hardware Problem Solving Community! (Home) -> PC Storage RSS
Next:  Western Digital_WD400BB-53C1B0 40GIG + ActiveSmar..  
Author Message
Danny Jenkins

External


Since: Nov 11, 2003
Posts: 1



(Msg. 1) Posted: Tue Nov 11, 2003 2:56 pm
Post subject: Any better way to wipe data from a HDD?
Archived from groups: comp>sys>ibm>pc>hardware>storage (more info?)

I was advised that in addition to fdisking and formating a hard disk
drive I should do the following, then fdisk and format again. Are the
following instructions a sure-fire way of erasing data?
Many thanks.

-----
Enter the following lines at the debug prompt (-) followed by the
enter key.
Note: this completely erases the MBR and your whole drive.

F 200 L200 0
a 100
mov ax,301 [note from here on you may see a number like fff:1234
[type all commands next to this number
[do _not_ press enter when this number appears.
mov bx,200
mov cx,1
mov dx,0080 [note: use 0081 for second fixed disk
int 13
int 3
(enter a blank line here)
G=100
q

 >> Stay informed about: Any better way to wipe data from a HDD? 
Back to top
Login to vote
Todd H.

External


Since: Nov 08, 2003
Posts: 26



(Msg. 2) Posted: Tue Nov 11, 2003 6:29 pm
Post subject: Re: Any better way to wipe data from a HDD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

dannyjenkins.TakeThisOut@ziplip.com (Danny Jenkins) writes:

 > I was advised that in addition to fdisking and formating a hard disk
 > drive I should do the following, then fdisk and format again. Are the
 > following instructions a sure-fire way of erasing data?

Physics being as it is, no, not sure fire, but yes, probably enough
for what you want. It's amazing what's recoverable off a hard drive
if you're really interested in what was there before.

When the government disposes of hard drives, there's quite a series of
things they do to the drive. If the info is really sensitive, the
drive is physically destroyed and chopped into tiny bits.

Here's an interesting read:
<a style='text-decoration: underline;' href="http://www.pcmag.com/search_results/0%2C3015%2C%2C00.asp?qry=erase+hard+drive+magnetic+signature&site=PC+Magazine" target="_blank">http://www.pcmag.com/search_results/0%2C3015%2C%2C00.asp?qry=erase+har...rive+ma</a>

--
Todd H.
<a style='text-decoration: underline;' href="http://www.toddh.net/" target="_blank">http://www.toddh.net/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Any better way to wipe data from a HDD? 
Back to top
Login to vote
Arno Wagner

External


Since: Nov 07, 2003
Posts: 1693



(Msg. 3) Posted: Wed Nov 12, 2003 3:54 am
Post subject: Re: Any better way to wipe data from a HDD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Previously Danny Jenkins <dannyjenkins.RemoveThis@ziplip.com> wrote:
 > I was advised that in addition to fdisking and formating a hard disk
 > drive I should do the following, then fdisk and format again. Are the
 > following instructions a sure-fire way of erasing data?

This is rather unreliable. First, it depends on the BIOS seeing the
whole drive. That is not necessarily the case. Int 13 classic sees
only the first 504MB. Since modern OSes do their own disk access the
BIOS only needs to see the beginning of the drive where the boot code
is usually located.

On a closer look into the code below, it does not overwrite the drive
at all! It rather overwrites sector 1 on disk one single
time. You can recover from this. It requires finding the partition
boundaries but is feasible. (If sector 1 is the partition
table, I am not quite sure, since it has been a long time
since I did BIOS calls. If it is the MBR, a rescue floppy/CD
is all it takes fro recovery.)

Fdisk and format will also not erase any data. They will just
remove the administrative information.

Whoever told you to use this for disk erasure does not know
anything about the subject or lied to you.

In addition there is no sure-fire way for disk erasure.
Commercial data recovery companies claim they cannot recover
a single overwrite, and given todays drives that may or may
not be true. There is valid speculation that with enough effort
iy may be possible to recover from one or even a few overwrites.
However that would be expensive and tedious.

My advice: Use one overwrite with zeroes to protect against
most attackers. If you have really important data on the disk
overwrite several times with random data. If it is even
more important destroy the disk physically afterwards. Just
burning a disk is often not enough. Recovery from that is
something data recovery companies can often do. You need to
shred or melt it to be safe.

Best tool for overwrite: Linux.
I use knoppix (-> google) and dd_rescue for this type of task

Boot, go into root shell and do

dd_rescue -w /dev/zero /dev/hda

Overwrites with zeroes and gives you a nice progress indicator
and tells you how much data has actually been overwritten.
Repeat as needed and with /dev/urandom in the first argument for
random data.

Regards,
Arno


 > -----
 > Enter the following lines at the debug prompt (-) followed by the
 > enter key.
 > Note: this completely erases the MBR and your whole drive.

 > F 200 L200 0
 > a 100
 > mov ax,301 [note from here on you may see a number like fff:1234
 > [type all commands next to this number
 > [do _not_ press enter when this number appears.
 > mov bx,200
 > mov cx,1
 > mov dx,0080 [note: use 0081 for second fixed disk
 > int 13
 > int 3
 > (enter a blank line here)
 > G=100
 > q

--
For email address: lastname AT tik DOT ee DOT ethz DOT ch
GnuPG: ID:1E25338F FP:0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
"The more corrupt the state, the more numerous the laws" - Tacitus<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Any better way to wipe data from a HDD? 
Back to top
Login to vote
Rod Speed

External


Since: Nov 09, 2003
Posts: 2317



(Msg. 4) Posted: Wed Nov 12, 2003 11:19 am
Post subject: Re: Any better way to wipe data from a HDD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Danny Jenkins <dannyjenkins RemoveThis @ziplip.com> wrote in message news:54086d4b.0311111156.2de0799e@posting.google.com...

 > I was advised that in addition to fdisking and formating a hard
 > disk drive I should do the following, then fdisk and format again.
 > Are the following instructions a sure-fire way of erasing data?

Depends what you mean by sure fire. If you dont have anything
illegal on the drive, there isnt any point in going to this much
trouble if you just want to ensure that anyone you sell/give
the drive to wont be able to get anything useful off it.

Its rather simpler to just use something like
<a style='text-decoration: underline;' href="http://dban.sourceforge.net/" target="_blank">http://dban.sourceforge.net/</a>

The only real risk with something like that is that there is a microscopic
risk that its actually a scam/trap deliberately setup by 'the authoritys'
to catch those who store stuff like child porn or drug money laundering
details on their hard drives etc.

 > -----
 > Enter the following lines at the debug prompt (-) followed by the
 > enter key.
 > Note: this completely erases the MBR and your whole drive.
 >
 > F 200 L200 0
 > a 100
 > mov ax,301 [note from here on you may see a number like fff:1234
 > [type all commands next to this number
 > [do _not_ press enter when this number appears.
 > mov bx,200
 > mov cx,1
 > mov dx,0080 [note: use 0081 for second fixed disk
 > int 13
 > int 3
 > (enter a blank line here)
 > G=100
 > q<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Any better way to wipe data from a HDD? 
Back to top
Login to vote
Fabien LE LEZ

External


Since: Nov 15, 2003
Posts: 34



(Msg. 5) Posted: Sun Nov 16, 2003 1:16 am
Post subject: Re: Any better way to wipe data from a HDD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Have a look at this:
<http://staff.washington.edu/jdlarios/autoclave/>
NB: if your data is really valuable, a proper physical destruction is
the only solution.

--
Wink
 >> Stay informed about: Any better way to wipe data from a HDD? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IBM ServeRaid 3L, 3H, 4H and WindowsXP - Hi here is some information on how to make a ServeRaid 3L, 3H or 4H work on Windows XP http://w3.ift.ulaval.ca/~etche1/HowSXP.htm thanks Etienne Chenard

Questions regarding IDE/ATA (building a system) - I am currently working on a device that shall sit on an IDE bus, between the host and drives, where it shall do some specific tasks, and: - There will be a delay through the circuit, maybe as much as 10 blocks of 16 bits from the databus (when..

Suggestions to resurrect a dead IBM Deskstar - Hello all, I've been reading this newsgroup for about five minutes now, and I already know that there is strong feeling about the quality of IBM Deskstars (or lack thereof). So I can imagine what responses might arise if I say I have a now defunct..

Notrton Ghost oops. Any utilities? - Cloned HDD 1 onto HDD2 by mistake. Been backing stuff up, but a restore is slower than a recovery, even partial. HDD1 had very little data; HDD 2 had more, so I guess it wasn't overwritten, just a new partition table. Any utility to re-establist the..

PCI RAID controller? - Can anyone recommend a reliable, quick and feature-packed PCI RAID controller for use with a pair of WD Raptor (WD360GD) drives? I cannot get my Raptors to boot to Windows XP using a RAID 0 array with the ICH5-R on an Intel 875PBZ motherboard. ..
   Hardware Problem Solving Community! (Home) -> PC Storage All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]