i want to install windows xp by removing windows 7.
More aboutreplace window windows
On some computers, it can't be done. Contact the manufacturer and check the compatibility first, before you try to reformat the drive and load XP. Have a windows 7 installation disk handy in case the system rejects the XP installation.
in general you will need to find the XP drivers for the hardware first, especially the one for the chipset to be able to install XP