An Easy Way to Wipe Your Hard Drive

Formatting your hard drive does not securely remove old data; any hacker with a little bit of knowledge could retrieve data from the drive. Writers from CNET, MakeUseOf and Geek Squad all agree that nothing beats Darik’s Boot and Nuke for securely erasing data from hard drive. If you have an SSD, Parted Magic offers a secure erase tool that works specifically with drives that use wear-leveling. A third option is to use the "wipe" command from an Ubuntu live disc. All three tools overwrite the hard drive with random ones and zeros to destroy the old data.
- Darik's Boot and Nuke
- Download the DBAN ISO file from the DBAN website
- Insert a blank CD into the drive
- Reboot the computer
- Type
- Parted Magic
- Download Parted Magic
- Reboot your computer
- Click the menu icon in the lower left corner
- Choose Internal
- Enter the password for drive
- Ubuntu Live Disc
- Download the most recent Ubuntu release
- Reboot the computer with either the CD or USB drive
- Click the network icon
- Search for wipe
- Open the terminal
- Enter sudo
1 Darik's Boot and Nuke
2 Download the DBAN ISO file from the DBAN website
Download the DBAN ISO file from the DBAN website. Do not unzip or extract files. An ISO file is a disc image, and it must be burnt to a CD in order to function.
3 Insert a blank CD into the drive
Insert a blank CD into the drive; the ISO file is about 15 MB, so using a blank DVD is overkill, though it will work if that is all you have on hand. Double-click the ISO file in Explorer and select the disc burner to initiate the burn.
4 Reboot the computer
Reboot the computer when your CD finishes burning. The DBAN software runs entirely from CD, allowing you to make changes to all aspects of your hard drive. DBAN has an old-school white text on a blue background and is controlled entirely by keyboard.
5 Type
Type "autonuke" to run DBAN's default erasure settings. If you want to run more than one pass to ensure that your data is completely unrecoverable, press "F3," then "M" to choose how you want the data erased. Many users select "DOD Short" to have DBAN run three passes of random ones and zeroes. Press "F10" to begin the process. It takes several hours to completely wipe a hard drive with more than one pass.
6 Parted Magic
7 Download Parted Magic
Download Parted Magic; it is available for purchase on the Parted Magic website. When the ISO download is complete, burn it to a CD or load it onto a bootable USB drive with a program like Unetbootin.
8 Reboot your computer
Reboot your computer with either the CD or USB drive inserted. The media will boot into the Parted Magic system, which uses a version of Linux as a desktop environment. When prompted in the start-up menu, run with default settings.
9 Click the menu icon in the lower left corner
Click the menu icon in the lower left corner. Go to "System Tools" and select "Erase Disk."
10 Choose Internal
Choose "Internal: Secure Erase command writes zeroes to entire data area." Click "Continue," then select the disk you want to erase; Parted Magic shows a list of all hard disks connected to the system.
11 Enter the password for drive
Enter the password for drive when prompted if your drive has a password; if it does not, enter "NULL." You will be asked to confirm that you want to erase the disk. Click "Yes."
12 Ubuntu Live Disc
13 Download the most recent Ubuntu release
Download the most recent Ubuntu release. When the ISO file is done downloading, either burn it to a blank CD or create a bootable USB drive using Pen Drive Linux's USB Installer, as recommended by Ubuntu.
14 Reboot the computer with either the CD or USB drive
Reboot the computer with either the CD or USB drive inserted. This will boot you into a version of Ubuntu that runs from the removable media; it does not make any changes to your computer's operating system or settings.
15 Click the network icon
Click the network icon in upper right corner and connect to the Internet, or plug in an Ethernet cable if your computer does not use wireless. When the Internet is connected, press the Ubuntu icon on the side dock and type "Ubuntu Software Center." Select it when it comes up.
16 Search for wipe
Search for "wipe" in the software center; the first result should be the correct entry, called "Secure file deletion." Click "Install."
17 Open the terminal
Open the terminal and enter "sudo fdisk -l" to see a list of the currently connected drives, including internal hard drives and USB drives. The device is labeled in the format of "/dev/sda1" with some variations; for instance, USB devices may be listed as "/dev/sdb1." Identify which drive to securely erase if more than one drive is present in the machine. Windows drives will show the file system as "NTFS," at the end of the line.
18 Enter sudo
Enter "sudo wipe /dev/sda1" where the device label reflects the one used for your hard drive. You will be asked to confirm; type "yes." The terminal will begin the wipe, showing what sector it is on and how long the wipe will take. It may take several hours, depending on the size of your drive.
- Back up any data that you may need later; after you have securely wiped your hard drive, the data is gone.
- This article refers to software and features as they were available in January 2014; availability and options may change with time.
- Most computers boot automatically from CD; if your computer does not, you may need to edit your BIOS settings so that the computer boots DBAN from the CD.
- 1 Geek Squad: Hard Drive Wipe
- 2 MakeUseOf: How To Completely & Securely Erase Your Hard Drive
- 3 Ubuntu Documentation: How to Create a Bootable USB Stick on Windows
- 4 How-To Geek: Use an Ubuntu Live CD to Securely Wipe Your PC’s Hard Drive
- 5 Corsair: How to Secure Erase Corsair SSDs With Parted Magic