are you booting the cd or the hddyou could run fdisk /mbrthat will repair you mbr to make windows run againyou will have to edit your boot.ini to make ubuntu work again