I have an old 120 gb hard drive I am going to put into a new build. The motherboard, cpu, and memory will be arriving tomorrow, according to the UPS tracking site. Here’s what I am doing to wipe all old data from the drive:
1) Installed old hard drive in place of my new one on this current system.
2) Rebooted with the Ubuntu 9.04 Live CD
3) Opened up a terminal (Applications > Accessories > Terminal)
4) Entered this command:
sudo shred -vfz -n 6 /dev/sda
5) Opened up Firefox to write this post
6) Power off the monitor and let this run all night! (Update: I started this at around 3:30pm on Tuesday afternoon. It did 6 passes of writing random stuff plus a 7th pass of writing all zeros, finishing up at around 8:30 am on Wednesday morning. Total of 17 hours for a 120 gb drive.)
While it was doing its thing I was able to surf the Internet, check web-mail, etc.