Download a Win98se boot floppy from click here. Start the computer with the floppy disk in the drive. Let the floppy load to an a:\ and put fdisk behind it
Pick Y to enable large disk support.
If you have just one hard drive that is not partitioned:-
Pick option 3. Delete partition or Logical DOS Drive and enter.
on the next screen pick option 1. Delete Primary DOS Partition. Then escape.
This will take you back to the main screen.
Then pick option 1. Create DOS partition or Logical DOS Drive and enter.
and then option 1. Create Primary DOS Partition and enter.
Choose the size you want the C drive. Then pick option 2 to make the C drive active.
Keep pressing escape till the computer reboots.
Start the XP installation and windows will format the drive.
Thats how to fdisk the hard drive but you can do the same with the windows XP disk. Just after you get the F8 screen to accept the terms. You get the screen to press D to delete the partition of the hard drive. if you do this, it is the same as fdisk.