You can do this by inserting your XP CD on boot up. Enter Setup, and setup will prompt you to format the partition in which you wish to intall windows. Make sure this partition is the one you currently use. Setup will format the partitition and install the necessary windows files from there.