I recently got rid of a nasty trojan on Windows and want to migrate to Linux(Ubuntu). I want to run a Live CD so that I can format an SD card to put my brand new firmware on my router and format the HDD so I can install Ubuntu. In this case, is it possible to get my system infected or to infect the SD card? I mention the fact that my Windows 7 is a genuine license and also my nod32 but I do not trust the fact that my virus is gone. 
Can I get infected in this case if I run a live cd?
ubuntu;security;malware