Before you throw away your workstations shred your disks

Written by James McDonald

January 31, 2012

I did this with a Ubuntu 9.04 bootable Live CD.

Boot from the CD
Choose to try Ubuntu without installing
Start a command prompt (Applications ==> Terminal)

# get root
sudo su -

# find your harddisks
[email protected]:~# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9eef9eef

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9728    78140128+   7  HPFS/NTFS

# over write the hard drive with one pass of zeros
# and tell me about it (-v)
[email protected]:~# shred -z -n 0 /dev/sda -v
shred: /dev/sda: pass 1/1 (000000)...
shred: /dev/sda: pass 1/1 (000000)...348MiB/75GiB 0%
shred: /dev/sda: pass 1/1 (000000)...700MiB/75GiB 0%
shred: /dev/sda: pass 1/1 (000000)...1.0GiB/75GiB 1%
shred: /dev/sda: pass 1/1 (000000)...1.3GiB/75GiB 1%
shred: /dev/sda: pass 1/1 (000000)...1.6GiB/75GiB 2%
shred: /dev/sda: pass 1/1 (000000)...2.0GiB/75GiB 2%
shred: /dev/sda: pass 1/1 (000000)...2.3GiB/75GiB 3%
shred: /dev/sda: pass 1/1 (000000)...2.6GiB/75GiB 3%
shred: /dev/sda: pass 1/1 (000000)...2.9GiB/75GiB 4%
shred: /dev/sda: pass 1/1 (000000)...3.3GiB/75GiB 4%

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...