Linux Howto: wipe a hard drive
February 26, 2011 Leave a comment
I have an old Sun UltraSparc server (Blade 1000). I am getting rid of it and wanted to wipe the two 80GB Fiber-Channel (FC) disk drives.
Quick and easy method:
- Download the System Rescue CD Sparc version, latest available here http://sourceforge.net/projects/systemrescuecd/files/sysresccd-sparc/0.4.0/systemrescuecd-sparc-0.4.0.iso/download (if you’re on a more recent platform, go here to download http://www.sysresccd.org/Download )
- Power on the machine with the CD in the drive. Alternately “Stop-A” and then type “boot cdrom”
- Let the SystemRescueCD boot
- Start the wiping with shred (man page should be on your Linux system; otherwise check here [gnu.org documentation site] ) by running this command:
-
shred --verbose /dev/sda
-
- Ctrl-Alt-F2 to get a 2nd console; run this command
-
shred --verbose /dev/sdb
-
- Wait patiently (I am, as I type this). Default is 3 iterations of random data.
If this is helpful, let me know.