Posts

Showing posts from October, 2009

How do I erase a computer hard disk securely with linux?

After I decided to scrap my more than 4 years old laptop, because it repeatedly failed after working some minutes after booting (when it fails, nothing worked usually any more than the mouse movement, sometimes even the screen display starts to blur; even booting from Live-CDs Ubuntu 8.10, etc. showed the same effect), I was looking for a secure way to delete all data. I settled with: shred -vfz -n 10 /dev/hda" from stackoverflow.com , I had to use a very small Linux distribution ( DSL ), that was running completely in the RAM in order to be able to start the shred command (with other Live-CD's the laptop was failing already before I was able to start the command via a shell). Update: This command was running nearly one week. At the end I tried to verify the success by removing the Live-CD and start to boot again. To my surprise, Ubuntu was still booting. I am still not sure, how to explain this. Anyway, I decided to remove the HD and destroy it mechanically. That shoul