Permanently remove information from your USB Drive
The following tutorial explains how to permanently remove deleted information from your USB flash drive or any other partition making the deleted information (for the most part) non-recoverable. We are able to accomplish this task by zeroing out the empty space on the drive using dd. There are many great uses for dd, from forensic data recovery and data backup to zeroing out empty drive space.
Zeroing out the empty space and making deleted information non-recoverable:
- Create a dummy file named
junk.binon the USB flash drive
- Open a terminal and type
fdisk -land locate the partition you would like to zero out
mount -o loop /dev/sdxx /tmp/ddsdb(replacing
sdxxxwith your partition)
dd if=/dev/zero of=/tmp/ddusb/junk.bin
Thats all. Now any empty space on this partition has been filled with zeros and the deleted information that was once on your USB flash drive has been overwritten.