Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-24-2008, 07:04 AM   #1
LQ Newbie
Registered: Dec 2006
Distribution: Fedora 9
Posts: 28

Rep: Reputation: 15
hard disk zeroing

has anybody experience on how long it takes to zero a hard disk drive?

I'm speaking of a new lap top with 320GB HD installed on
Intel(R) Core(TM)2 Duo Processor T5750 2.0 GHz, 2MB Cache, 667 MHz FSB

I'm using GPARTED and dd if=/dev/zero of=/dev/sda

Old 08-24-2008, 07:28 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,493

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
That'll take days.
Use a blocksize - a *big* one.
Old 08-24-2008, 08:19 AM   #3
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Are you doing this as a security measure pre-disposal/recycling? If so, I have heard about (although never used) a bootable CD program called "Darik's Boot 'N Nuke" (DBAN). I would imagine that users of this utility would be able to give you a pretty good idea about how long the process should take if you post in their forums.

Note that DBAN is likely to be somewhat more secure than copying /dev/zero to a device as it does multiple passes and writes different patterns of data to the drive. A single-pass zeroing will leave the device susceptible to forensic analysis which can recover the original disk contents. After the multiple passes of DBAN, this is a lot harder to do.
Old 08-24-2008, 11:06 AM   #4
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
I'd use DBAN, it'll get rid of all that nasty evidence of hacking the pentagon you've got left over on there, overwrite it with like 32 passes of random data . There aint no comin' back for it though. And yes, with a drive that size, it will take a very long time to scramble then zero it all out. Not enough time to get it done before the FBI kicks in your door and unplugs it unfortionately.
Old 08-25-2008, 01:29 AM   #5
LQ Newbie
Registered: Dec 2006
Distribution: Fedora 9
Posts: 28

Original Poster
Rep: Reputation: 15
Well, I was loosing hope, but the zeroing was completed for 4 and a half hours.

I had to remove an HPA partition that starts a demonic script for partitioning your hard disk - it is related to DELL MEdia Direct. If you delete the latter it might still nuke your lap top by repartitioning it - it has a stand alone button next to the power on button.

Now pressing it flashes the media direct picture and startd grub ...

After difficulty there is relief ...

Next time I'll do some random erase - but the point was the Host Protected Area where is the boot for the media direct...I won't give Media Direct any chance to reapear ... now I am a happy user of Fedora 9!

Thanks for your response, unfortunately I was already running the zero command when I posted the topic.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting linux files from another hard disk(IDE) to current hard disk(sata) the lord protector Linux - Hardware 5 05-04-2008 12:30 PM
Now I have a scsi hard disk, two IDE hard disk, i want install linux on scsi hard dis tecpenguin Linux - Server 4 11-10-2007 07:44 AM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 01:20 AM
Can I use a virtual machine hard disk as a real hard disk, or vice versa? onlineapps Linux - Software 1 02-24-2007 09:40 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 11:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration