Recovery CD not working, hard drive problem

Hi, I have a computer that was running Windows Vista Ultimate 32-bit. I compressed my C drive, not knowing it would make it impossible to boot into Windows. My computer was built for me by a friend. He included two hard drives from a previous computer that ran Windows XP. When I try to use the Vista Recovery disk, it only recognizes the drives that were on my old computer, not the newer ones I was using with Vista. Is there anything I can do?