Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-02-2007, 03:34 PM   #1
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Ubuntu, Mint
Posts: 938

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

Rep: Reputation: 91
Old 03-02-2007, 03:43 PM   #3
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 61
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
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
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.

Old 03-02-2007, 05:03 PM   #5
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
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

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

write a shell script according to this post:

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
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: 57
Personally I like using shred (from a Live CD or USB memory maybe??); man shred


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 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