i currently had XP pro on when installing Linux Mandrake and it created another partion, how do i have it just delete windows and install On to that hard drive with no partions. now i have two partions and i can't get rid of one. its a Extend. i tried Fdisk but it keep telling me i must remove Logical but i try but then it say Remove the Extend Partion, it just goes back and forth

what do i do to erase that extend partion keep the primary and get all my space back. and then reinstall linux and have it overwrite over windows or delete it.