i had this problem only witha pendrive just run the xp setup untill it asks which partition to use there u can format and delete partiotins then exit setup leaving you with a formated HDD
but i only did this with a pen drive by mistake so maybe not the best option but i fixed my pen drive