dd if=/dev/zero of=/dev/sda I could be wrong, but I believe this only wipes the partition table, which can be restored with testdisk. The data on the partitions is still there. I would wipe the partition table with this... dd if=/dev/zero of=/dev/sda bs=512 count=1 ...and then use fdisk or gparted ...