🌑

Linhost.info

Parted Magic: Erase A Hard Drive

I have blogged several times before about Parted Magic the open source live distribution that can do pretty much anything(test, backup, partition) when dealing with drives. This time I will focus on a specific tool found on Parted Magic meant to provide a method for the secure wipe or deletion of data from a hard drive by overwriting with generated data. Erase Disk is simple to use tool thanks to its easy to understand interface, you can choose the method with which the data will be erased. Keep in mind that we are overwriting the drive, any attempt to recover data after an accidental overwrite will not be possible. Thanks to Parted Magic you now have an operating system independent tool for erasing disks.

Its recommended you disconnect all drives except the one you wish to overwrite.

Let’s Start…

  1. First download Parted Magic from the Parted Magic website and burn the ISO to a CD/DVD or create a bootable USB flash drive.
  2. Remember to set the BIOS to boot from removable media, may vary depending on the BIOS, and boot in to Parted Magic.

Let’s Erase

Once you are presented with the Parted Magic desktop go to the left bottom corner of the screen and click on the Parted Magic icon. Go to Parted Magic > System Tools > and click on Erase Disk A new window will open, this window contains the options available for erasing the drive. Which are:

  • External (dd disk): Employs ‘dd’ to write zeroes to the selected drive.
  • External (dd part): Zeroes out (with ‘dd’) the selected partition.
  • External (shred disk): Uses ‘shred’ (versus ‘dd’) to write zeroes.
  • Internal: Secure Erase command writes zeroes to entire data area.

The first option should be enough to completely overwrite the drive. Choose the option you are comfortable with and click on Continue…. Remember to choose the correct drive, otherwise you will not be able to recover the data from an accidental wipe. Click on OK to confirm and start the process. You can actually see the command used to erase the data dc3dd log=/tmp/dd_log.sdb status=noxfer sizeprobe=on of=/dev/sdb bs=4096 count=104857600. Success, remember that it may take a considerable amount of time anywhere from minutes to hours depending on the size of the drive and data. Overwriting a drive will not cost you anything since the tools needed are available free of cost. Formating a drive will only leave you vulnerable to recovery software.

Parted Magic Site

, , , — Jun 30, 2010