"if i select safe mode or safe mode with command prompt i get 6 lines of text"
This is normal in safe mode athough you should get a lot more lines its hanging on the next set which is probably system32/config/system.
You need to boot from the XP CD and carry out a repair.
Repair XP by install over the top of existing systm
1. Boot the computer using the XP CD. You may need to change the boot order in the system BIOS so the CD boots before the hard drive. Check your system documentation for steps to access the BIOS and change the boot order.
2. When you see the "Welcome To Setup" screen, you will see This portion of the Setup program prepares Microsoft Windows XP to run on your computer:
To setup Windows XP now, press ENTER.
To repair a Windows XP installation using Recovery Console, press R.
To quit Setup without installing Windows XP, press F3.
3. Press Enter to start the Windows Setup.
To setup Windows XP now and Repair Install , press ENTER.
DO NOT choose "To repair a Windows XP installation using the Recovery Console, press R", (you Do Not want to load Recovery Console).
4. Accept the License Agreement and Windows will search for existing Windows installations.
5. Select the XP installation you want to repair from the list and press R to start the repair.
6. Setup will copy the necessary files to the hard drive and reboot.
Do not press any key to boot from CD when the message appears.
Setup will continue as if it were doing a clean install, but your applications and settings will remain intact.