LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Need to wipe clean a hard drive (https://www.linuxquestions.org/questions/general-10/need-to-wipe-clean-a-hard-drive-535043/)

144419855310001 03-06-2007 07:40 AM

Need to wipe clean a hard drive
 
Hi

I know someone with some old Macs who is willing to pass one on to me but only if I shred all the data (wipe the data) off the hard drive first. I don't just mean formating it either - government level wiping the 1's and 0's clean away / a proper shred. Does anyone know any programs I could use / is there a linux distro boot-cd that could do it?
Of course, as they're macs, it'd need to be ppc architecture.


(And one other thing, could anyone with a bit of experience with Macs give me a ballpark figure of how many MBs the hard drive & Mhz the processor of a computer running MacOS 9.2 is likely to have ?)


Thanks

PatrickMay16 03-06-2007 08:07 AM

Any live linux CD for PPC will do. Then you can just dd if=/dev/urandom of=/dev/hda or whatever, I think.

I think Knoppix has a PPC version available. Search "knoppix ppc" on google.

phantom_cyph 03-06-2007 09:13 AM

Would GParted do? If you reformat a drive (correct me if I'm wrong), and then put a file on the drive, it erases all temp files kept from the old file.

exvor 03-06-2007 10:41 AM

I wonder if cat /dev/zero > /dev/hda would cause hardware malfuction.... hhhmmmm something to try when a old drive *evil grin*

SlackerDex 03-06-2007 10:53 AM

it's shr... shr... shr...shredding time!!
 
Darik's Boot & Nuke

or

take your pick.

Crito 03-06-2007 04:25 PM

Quote:

Originally Posted by PatrickMay16
Any live linux CD for PPC will do. Then you can just dd if=/dev/urandom of=/dev/hda or whatever, I think.

By working at block device level you bypass journaling filesystems too. So a "government level shred" is really overkill if you use dd. Three times with random bits should be more than enough.

dasy2k1 03-07-2007 08:12 AM

you should wipe at leats 64 times with random binary otehrwise the data is still recoverable (at block level as all goverment forensic examanation tools work at)

Crito 03-07-2007 10:09 AM

Before journaling filesystems the DoD standard was three times.

144419855310001 03-07-2007 11:31 AM

Quote:

Three times with random bits should be more than enough.

I've never used the 'dd' command before though...
Could you give me an idea of how this command would look, Crito?

Thanks

Crito 03-07-2007 11:48 AM

There's a how-to right here on this very site:
http://www.linuxquestions.org/linux/...ything_With_DD

Above also mentions dcfldd written by Nicholas Harbour, who at the time was working for the Department of Defense Computer Forensics Lab (DCFL):
http://dcfldd.sourceforge.net/


All times are GMT -5. The time now is 03:14 PM.