LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03:34 PM   #1
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
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, 03:35 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

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

Rep: Reputation: 62
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 03:46 PM.
 
Old 03-02-2007, 04:06 PM   #4
Brian1
LQ 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: 65
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, 05:03 PM   #5
Electro
LQ 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, 05:16 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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, 10: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: 58
Personally I like using shred (from a Live CD or USB memory maybe??); man shred
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 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
Open Source Consulting | Domain Registration