I think if you connect your sd to the virtual machine it's may be work. And for dd it's just replace all the sd content with 0 (Total reset) the command is dd if=/dev/zero of=/dev/sdX you can find the "X" with gparted and after recreate the partition table (msdos/mbr) and the main partition it's...