Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-29-2003, 07:13 AM   #1
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
Safely Erasing a HDD with dd

Is it possible to use dd to write garbage to a HDD so that the previous data is un-readable?

I want to sell an old HDD but don't like the idea of the previous data being accesible.

I've read tha man page but it's a little cryptic, if dd is the wrong tool is there a better way out thier?

Thanks, R4z0r
Old 06-29-2003, 07:27 AM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
try this:

dd if=/dev/zero of=/dev/hdX



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Safely removing ext hdd nanoprobe Linux - Hardware 1 07-24-2005 08:34 PM
Erasing the bash profile? AQG Linux - Security 6 07-06-2005 04:31 PM
Erasing history Menestrel Linux - Newbie 1 05-11-2004 03:23 PM
Help Erasing Linux DarthPip Linux - Software 7 03-21-2004 02:48 PM
HD erasing and installing sky78 Linux - Newbie 2 08-25-2003 04:04 PM

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