How Do I Completely Wipe Linux?
Contents Most Variants of Linux Come with Two Tools for Securely Wiping a Drive: the Dd Command and the Shred Tool. You Could Use Dd or Shred to Wipe the...
Most variants of Linux come with two tools for securely wiping a drive: the dd command and the shred tool. You could use dd or shred to wipe the drive, then create partitions and format it with a disk utility. To wipe a drive using the dd command, it’s important to know the drive letter and partition number.
How do I erase everything on Linux?
Wiping the entire disk
Use the sudo command as well (sudo dd…) Filling the disk with all zeros (This may take a while, as it is making every bit of data 0) : dd if=/dev/zero of=/dev/sdX bs=1M #replace X with the target drive letter.
Must Read
How do I completely wipe my hard drive Ubuntu?
live boot in Ubuntu. launch Disk from dash and delete all partitions. then click on format and set Erase to Overwrite existing data with zeroes (Slow). Filesystem can whatever you want.