If /dev/sda is the whole disk, then (on Linux, because the naming scheme vary from one Linux to another) /dev/sda3 is the third partition on the disk. You can now wipe any disk including Windows, Linux, Mac OS X or Unix-like system. a) dd command – convert and copy a file. This method isn’t quick, but given the fact that every Linux and Unix system comes with the DD tool pre-installed, it makes this way of erasing a hard drive very accessible. Next, burn a live cd and boot your laptop or desktop from live CD. Though, you would be asked to verify your choice to erase disk on Linux entirely.
Securely wipe disk/Tips and tricks#dd - advanced example which uses OpenSSL, Securely wipe disk/Tips and tricks#Using a template file which wipes with non-random preset data(e.g.
b) shred command (secure wipe+erase) – Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data. You can wipe a partition using the same method than for the whole disk. Shred originally designed to delete file securely. You can use the wipe command in order to wipe data on a disk. This article will provide you step-by-step guide for wiping a hdd clean. The most common method for securely erasing a hard drive (aka zeroing) on Linux is done using the DD command. wipe [options]
overwrite a whole disk with a single file) but is very fast; Dm-crypt/Drive preparation#dm-crypt specific methods which uses … Method #1: Old good dd command. The wipe command can be used to securely erase files from magnetic media.