LinuxQuestions.org
Register a domain and help support LQ
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 03-02-2007, 04:34 PM   #1
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Utility to wipe hard drive?


What utility can I use to zero the hard drive? I don't want to just format or repartition. I need to completely obliterate the data.
 
Old 03-02-2007, 04:35 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
http://dban.sourceforge.net/
 
Old 03-02-2007, 04:43 PM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
Another option to what 2damncommon suggested:

System Rescue CD

You can also use the dd command in Linux but that is kinda tricky to use so you have to be a bit careful.

Last edited by tuxrules; 03-02-2007 at 04:46 PM.
 
Old 03-02-2007, 05:06 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Depending on the options you use with dd command it can take a few minutes to several hours depending on those options. Also even longer if drive is USB connected.

Brian
 
Old 03-02-2007, 06:03 PM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Assuming the drive that you want to shred is /dev/hda.

dd if=/dev/urandom of=/dev/hda conv=notrunc

Then repeat the commands several times.
 
Old 03-02-2007, 06:16 PM   #6
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
I second what Electro wrote, and further, boot with

http://www.efense.com/helix

write a shell script according to this post:

http://www.linuxquestions.org/questi...d.php?t=362506

like the example about half way down the OP for seven passes of random characters over the entire disk.
 
Old 03-03-2007, 11:09 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Personally I like using shred (from a Live CD or USB memory maybe??); man shred
 
  


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
How best to format/wipe hard drive clean? blnkgcrsr001 Linux - Newbie 19 08-31-2010 08:56 AM
how do I wipe a couple of hard drive in an Ultra 60 scottie4442 Solaris / OpenSolaris 8 09-14-2006 02:02 PM
how to wipe off hard drive in solaris? frankie_DJ Solaris / OpenSolaris 3 06-15-2006 03:07 PM
Does the Solaris 10 installer have to wipe the whole hard drive? Eerath Solaris / OpenSolaris 8 07-27-2005 11:15 AM
How can I wipe the hard drive between partitions? tstrickland Mandriva 2 06-14-2005 11:00 PM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
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