LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-26-2005, 08:34 AM   #1
xemous
Member
 
Registered: Jun 2004
Location: Australia, Melbourne.
Distribution: Ubuntu
Posts: 80

Rep: Reputation: 15
Knoppix & Writing 1's & 0's to H/D


I'm working with a hardrive that has some accounting data on it and its going to a client with a new computer. I would like to write 1's and 0's to all the entire disk multiple times to rinse it clean. I once new the command but I lost it, it was something like dd /*da* ??. I'm planning on mounting the drive with knoppix and annihilating it. Can anyone list the specific command.

Thanks in advance.
 
Old 01-26-2005, 08:51 AM   #2
leadazide
Member
 
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390

Rep: Reputation: 30
dd if="input file" of=/dev/hda

you may use /dev/urandom as an "input file" - that's random number generator

Last edited by leadazide; 01-26-2005 at 08:53 AM.
 
Old 01-26-2005, 08:57 AM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
run badblocks over it?
 
Old 01-26-2005, 01:26 PM   #4
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Check out DBAN.
 
Old 01-26-2005, 01:43 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
if one did e.g. 20 runs of
dd if=/dev/urandom of=/dev/hda && dd if=/dev/zero of=/dev/hda
that would achieve a pretty darn clean system :)


Cheers,
Tink
 
  


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
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
1's, 0's and £ Software Sale HadesThunder General 9 05-23-2004 10:46 PM
Slackare boot is 1&0's BillyJr Slackware - Installation 12 01-25-2004 05:52 PM
Lots of 1's and 0's neals-a-newbie Linux - Software 1 02-27-2002 03:41 PM


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