I have an old hard disk which I think has every kind of malware on it, maybe even MBR malware. It is also possible that there is malware for Linux on it too, because the disk is a dual boot Windows XP - Ubuntu.
I want to completely wipe this disk to use it as secondary hard disk. I tried dban to do it but it gives me an error when I start the wipe. So I'm going to wipe the disk from an Ubuntu live USB with the command dd if=/dev/zero of=/dev/sda
. However I'm not sure if there is a possibility that some malware on the hard disk can infect the live version of Ubuntu. I think it is impossible since the PC will boot from the USB and any code on the hard disk won't be executed. Am I right?