LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2009, 05:04 PM   #16
kc9bcy
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
urandom


dd if=/dev/urandom of=/dev/hda1

thanks for the posts, and replies, got me the syntax i needed.

Much Obliged.

But i found this command might be better, if not first, at least on the second wipe, or even/odd wipes.

/dev/random does nothing, (apparently waiting for entropy)
 
Old 07-23-2009, 05:56 PM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
As Pixellany said, there's no need to wipe a drive to do an install.
 
Old 07-23-2009, 06:00 PM   #18
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
For wiping a hard drive, this has worked well for me (AFAIK):

http://www.dban.org/
 
Old 08-31-2010, 05:22 AM   #19
Sagadeon
LQ Newbie
 
Registered: Aug 2010
Location: Ohio
Distribution: Not sure what this means but, I'm on a netbook using Linux
Posts: 5

Rep: Reputation: 0
Thumbs up After Beating Myself up over this, This Code FIXED my issue!!!

Thank you thank you a trillion thank yous!!!! I can't believe something so simple did exactly what I needed to do, wipe my hard drive! Thank You!!!

~ Saga

When a user starts the cfdisk program with command like
Code:
cfdisk /dev/hda
he can delete any or all of the partitions, click "write" and everything is gone on a reboot.
 
Old 08-31-2010, 07:56 AM   #20
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 23
I just posted this in another thread:

I thought the BEST way was to overwrite your drive with random bits several times. You can write all 0's to your drive, but:

The magnetic strength of a bit on a hard drive can be measured, and it's supposed to be within certain tolerances. Lets say I have a byte 11001100 written to the disk. The actual measurements of these strengths could be

.98 .95 .03 .04 .96 .93 .06 .02.

If you start with 11001100, and write all zero's over it, the bits that used to be 1's will be measurably higher than the ones that used to be zero, so you'd end up with something like

.06 .07 .01 .01 .05 .07 .02 .00 - and you could derive that the data used to be 11001100. There IS equipment out there that can detect and analyze this! This would probably keep your wife from recovering your porn stash... But if higher security is required:

By overwriting it with random data multiple times, every bit can get flipped back and forth, so you can't tell if a particular bit was re-written with 0 3x in a row, or if it really WAS zero. Or if that .06 is .06 because the data WAS a 1 and re-written with a zero, or if the random writes to that bit ended with a 1 then a zero.

Multiple random re-writes is industry standard for sensitive data, at least it's the policy in any IT section I've ever worked in. The NSA, FBI, CIA, or anyone on this board couldn't recover data cleaned with this method.

http://www.dban.org/ - dban is a linux boot disk that will rewrite random data over ALL drives it can detect, it's what we use to clean old workstations before we junk em.
 
1 members found this post helpful.
  


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
How do I format my single, clean hard drive to Linux? deanh2nd Linux - Newbie 2 06-26-2006 10:24 AM
All i want to do is wipe my hard drive clean and install pclos Justin2021 Linux - Newbie 1 04-16-2006 12:53 AM
Wipe Hard Drive Prior to Install? usaf_sp SUSE / openSUSE 2 10-27-2005 01:49 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 10:00 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