Problem wiping a drive with shred command
I'm trying to wipe an entire 20GB drive with the shred command using Knoppix. Specifically this is the command I'm entering
To my understand from reading the man pages, this writes random data to the drive(/dev/hda) twice, forces permissions, and shows progress.
shred -n 2 -f -v /dev/hda
I see progress up to about 96% for the 1st pass, then I get 2 lines of error at the end of the drive. Something like "error writing to offset x, input/output error", where x is the end of the drive.
The 2nd pass never runs due to this error, the the program terminates back to the shell.
Does anyone know what's wrong?