LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-24-2010, 01:20 PM   #1
invader44
Member
 
Registered: Dec 2008
Location: America
Distribution: Ubuntu 11.04
Posts: 64

Rep: Reputation: 15
erase hard drive


Hello,

I am looking to erase some hard drives. Would the best tool to use be cfdisk or is there something else out there? I have 300 hard drives to erase.
Thanks in advance,

Vadder
 
Old 05-24-2010, 01:22 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
What do you want to achieve by erasing them? Do you have to comply with specific standards such as are published by the military for example? cfdisk is a very weak option.
 
Old 05-24-2010, 01:23 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
Depending on how you're doing it.. DBAN? Or dd if=/dev/urandom ...
 
Old 05-24-2010, 01:31 PM   #4
spampig
Member
 
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
If they are post 2001 drives I'd not mess around with anything slow like DBAN. I'd set up a chassis to do it and use secure erase:

http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml

It's a direct command built into the ata specification of post 2001 drives and takes a fraction of the time of other methods.

HTH
 
Old 05-24-2010, 01:36 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,281
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

Quote:
Originally Posted by invader44 View Post
Hello,

I am looking to erase some hard drives. Would the best tool to use be cfdisk or is there something else out there? I have 300 hard drives to erase.
Thanks in advance,

Vadder
A little more information would help!

If you use 'DBAN' as suggested then the time spent would be high for each drive depending on the size.

You did not say the hdd type or how you plan on connecting each. If IDE then use a IDE-USB interface, SCSI that's fixed but a SATA is doable. But you need to give us a better view of what your project is.

You could use 'dd' but that to will be dictated by connection and type along with disconnect methods.

 
Old 05-24-2010, 01:38 PM   #6
Joe of Loath
Member
 
Registered: Dec 2009
Location: Bristol, UK
Distribution: Ubuntu, Debian, Arch.
Posts: 152

Rep: Reputation: 28
For 300 hard drives I'd go for the not so elegant 'Huge Magnet' method. A couple of swipes with a big enough magnet will render them 'owned', for want of a better word.
 
Old 05-24-2010, 01:40 PM   #7
spampig
Member
 
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
Quote:
Originally Posted by Joe of Loath View Post
For 300 hard drives I'd go for the not so elegant 'Huge Magnet' method. A couple of swipes with a big enough magnet will render them 'owned', for want of a better word.
Don't do this - you are likely to damage the heads/actuator/coils. If it was this easy, people would do it this way.
 
Old 05-24-2010, 01:49 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,281
Blog Entries: 3

Rep: Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446Reputation: 1446
Hi,

Quote:
Originally Posted by Joe of Loath View Post
For 300 hard drives I'd go for the not so elegant 'Huge Magnet' method. A couple of swipes with a big enough magnet will render them 'owned', for want of a better word.
Not a good suggestion.

Let me know how many hdd that you successfully performed such action. The rails/heads are not the only possible issue but the mechanics period.

Not a wise thing to do. Maybe for floppy disks but not for hdd.

 
Old 05-24-2010, 01:59 PM   #9
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
If the drives just need to be wiped clean before they're disposed of, then the 'big magnet' approach is certainly viable, if not preferable. If, however, they are to be reused, then one of the other suggested methods should be used.

EDIT: I worked for a large German firm that shall remain nameless (sounds like a bodily fluid) that required all hard drives be physically cut in half with a band saw before disposal.

Last edited by brucehinrichs; 05-24-2010 at 02:02 PM.
 
Old 05-24-2010, 02:00 PM   #10
Joe of Loath
Member
 
Registered: Dec 2009
Location: Bristol, UK
Distribution: Ubuntu, Debian, Arch.
Posts: 152

Rep: Reputation: 28
Quote:
Originally Posted by onebuck View Post
Hi,



Not a good suggestion.

Let me know how many hdd that you successfully performed such action. The rails/heads are not the only possible issue but the mechanics period.

Not a wise thing to do. Maybe for floppy disks but not for hdd.

Really? It's worked for me and other people I've recommended it to before, but they were older drives, sub 20gb, and I hear they're supposed to have shielding now, although with a magnet so strong that you can us it to pick a 2lb hammer off the floor I thought it wouldn't matter.
 
Old 05-24-2010, 02:07 PM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Joe of Loath View Post
Really? It's worked for me and other people I've recommended it to before ...
How did you prove that data could not be recovered from the wiped drives? There's a difference between trying to reformat them and having a sophisticated data recovery workshop. That's why I asked if the erasure had to comply with specific standards.
 
Old 05-24-2010, 02:10 PM   #12
hilyard
Member
 
Registered: Jan 2010
Location: Inland PNW
Distribution: Salent | Salix
Posts: 287

Rep: Reputation: 64
SystemRescueCD 1.3.4 is live. At first prompt, type <dban> which will bring up a light blue screen and prompt, at this, tye <autonuke> and let it do its thing -- wiping the HD by writing zeros to it -- via Marsenne Twister! Unplug monitor, mouse & keyboard, plug in your second mahine and do th same with another HD (or go back online for more fun). 'Nuff said.

Last edited by hilyard; 05-24-2010 at 02:16 PM.
 
Old 05-24-2010, 03:00 PM   #13
invader44
Member
 
Registered: Dec 2008
Location: America
Distribution: Ubuntu 11.04
Posts: 64

Original Poster
Rep: Reputation: 15
Hello,

The hard drives are IDE. I am just looking to wipe the OS off of them. They don't contain any information. I was looking for something faster than dban. That is why I though cfdisk would be suffice, just to delete the partion. Or is using dban my only option?

thanks,
vadder
 
Old 05-24-2010, 03:07 PM   #14
hilyard
Member
 
Registered: Jan 2010
Location: Inland PNW
Distribution: Salent | Salix
Posts: 287

Rep: Reputation: 64
What OS was/is on the IDE HDs now?
 
Old 05-24-2010, 03:08 PM   #15
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by invader44 View Post
Hello,

The hard drives are IDE. I am just looking to wipe the OS off of them. They don't contain any information. I was looking for something faster than dban. That is why I though cfdisk would be suffice, just to delete the partion. Or is using dban my only option?

thanks,
vadder
cfdisk would be fine if you only want to ensure that the OSes on them are not accidentally booted and there are no confidentiality/security issues but it would be faster (single command, no interaction) to wipe the partition table with dd if=/dev/zero of=/dev/sd<whatever> count=1 bs=1M
 
  


Reply


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
Where to start?! Erase Hard Drive. Install Ubuntu. sittykitty Linux - Newbie 19 04-02-2009 06:57 PM
Best method to secure erase an external hard drive xri Linux - Hardware 1 01-16-2009 11:40 PM
cant erase hard drive Xentrix Linux - General 3 07-14-2004 09:22 AM
Erase Hard Drive from Rescue? mithras Linux - Newbie 6 12-11-2003 11:29 PM
How to erase hard drive . . . zthomasz Linux - General 2 07-30-2003 10:25 PM


All times are GMT -5. The time now is 11:37 AM.

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