My hard drive, and my cd drive are messed up

I have a Compaq Presario 6000. A friend messed up my computer and then reinstalled windows xp. Now my computer will not detect the 2nd cd drive (cdr/rw) and my hard drive which was 40 GB now only shows 1.99 GB. Reinstallation is not an option because I don’t have and can’t get a copy of windows xp. Can some one help? ( please note: I am not interested in anyone’s pirate copies of windows, I just want to fix the problem.)

You should have your own recovery disk for windows unless you do reformat your hard drive and fresh install the windows you might always face this type problem.