How can I securely wipe disk drives?
When erasing sensitive data, always make sure that the data cannot be recovered. A few ways to do this include Darik's Boot and Nuke (DBAN), or various options within Mac OS X.
Using DBAN
To securely wipe a disk drive using DBAN:
- Download DBAN.
- Use DBAN to create a bootable DBAN CD, and then boot your
computer using this CD.
- At the
boot:prompt, pressEnterto start DBAN in interactive mode.
- Press
M(Method). On the "Wipe Method" screen, use the arrow keys to navigate to your preferred wiping method (e.g.,Quick Erase[one pass],DoD Short[three passes], orDoD 5220.22-M[seven passes]). Press the Spacebar to save your selection and return to theDisks and Partitionsmenu.
- If only one disk is present in your computer, select the top
option that appears in the
Disks and Partitionsmenu, and then press the Spacebar. The selection box will display "[wipe]" to indicate what will be securely erased:
- If you see "[****]", the section of the disk you selected will also be wiped.
- If you see "[----]", you have already selected a section of the disk for wiping. Uncheck your selection and instead wipe the entire disk.
- Press the
F10key to begin the secure erase process. As soon as you pressF10, data erasure will begin.
The "Statistics" box in the top right corner of the screen will display an estimate of the time remaining on the disk wiping process.
Using Mac OS X
Mac OS X has several built-in options for securely removing data:
- To overwrite and delete files you've dragged to the Trash, from the
Finder, select
Secure Empty Trash.
- For whole file systems, use the Disk Utility, which can be found in
any of the following places:
- In the
Applications/Utilities/folder on your hard drive - In the Recovery HD partition (Mac OS X 10.7 and later)
- On the installation DVDs (Mac OS X 10.6 and earlier) that shipped with your computer
In Disk Utility, choose the file system for which you want to securely remove data, and then select the
Erasetab. To overwrite free space on the file system (i.e., space that may contain data for files deleted insecurely), clickErase Free Space.... To delete or overwrite existing files, clickSecurity Options. - In the
- For individual files, use
rm -Pfrom the command line. This overwrites files three times before deleting them.
For more information, see the UISO article about Securely Removing Data.
Last modified on August 28, 2011.







