LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-29-2003, 06:13 AM   #1
R4z0r
Member
 
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, 06:27 AM   #2
born4linux
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

hth.
 
  


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 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 07:34 PM
Erasing the bash profile? AQG Linux - Security 6 07-06-2005 03:31 PM
Erasing history Menestrel Linux - Newbie 1 05-11-2004 02:23 PM
Help Erasing Linux DarthPip Linux - Software 7 03-21-2004 01:48 PM
HD erasing and installing sky78 Linux - Newbie 2 08-25-2003 03:04 PM


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