Revision history [back]

Best option is to overwrite the data on the target disk using dd

like

sudo dd if=/dev/zero of=/dev/sdX bs=4096


or

sudo dd if=/dev/urandom of=/dev/sdX bs=4096


Where sdX is your hard disk partition like /dev/sdb1.

Please be careful if you give the wrong partition all data will be erased and unrecoverable.