I did post earlier but never got any replies. I thought it was because I replied to someone elses post so I tried as a new topic.I think Linux repartitioned the hard drive and removed the XP install. I was worried the virus might still be there because once it did reboot while I was in the bios. I wasn't sure if it was because the bios accessed the hard drive or if it flashed the bios.
If your computer rebooted while in the BIOS thats usually a sign of hardware failure. I'd be checking the PowerSupply and making sure the computer was clean (physically, by blowing the dust out of it if there is any).
It could also point to a CPU problem or Memory.
The BIOS doesn't usually access the hard drive for anything more than make/model/size/connection type. It doesn't actually "read" the contents, so it's pretty impossible for a virus to infect the BIOS while you're in the BIOS.
Also, flashing the BIOS can't usually be done while you're in it. The only way to do that is with motherboards that have flashing utilities built-in, and you'd still have to run that utility before any flashing can take place.
So anyway, if you installed linux over your windows partition/drive/whatever, then you can be pretty sure that it's gone. I mean, you deleted everything on your computer and installed linux over top of it, so there's nothing left but linux.
If you're super paranoid or you're still not sure if the windows partition exists, try to run the live cd of Dr. Web and do a scan just to make sure. If it comes up clean, you can format the drive and put windows back on, dual boot with windows, or keep linux on there instead.