PDA

View Full Version : knoppix sudo-shread



u2robert
06-11-2012, 04:44 PM
does any1 have the knoppix hacks it has a hdd shreader which i cannot for the life of me remember the path it's something like this sudo-shread -n z 2 v- /dev/hda. it will wipe the hdd and install 0000's please help can't find my knoppix hack's book

johnmd
06-12-2012, 12:05 AM
does any1 have the knoppix hacks it has a hdd shreader which i cannot for the life of me remember the path it's something like this sudo-shread -n z 2 v- /dev/hda. it will wipe the hdd and install 0000's please help can't find my knoppix hack's book

It is:

sudo shred -n 2 -z -v /dev/hda1

where:

-n option tells you how many times to write over with random data

-z option tells it to finish process by writing over with zeros [so it looks as though disk has not been shredded]

-v option shows you the progress of the shredding.

/dev/hda1 [or whatever] shows partition you want to wipe or /dev/hda if you also want to wipe whole disk.

Best wishes, John

NB - WARNING - Should also have an option telling you how many times to check over what you've written at the command line, before pressing enter - definitely more than 2 if you still have anything at all that you value anywhere on the disk