Formatting hard drive

My son in law has recently bought a barebones system which he got up and running alright.He thought he had partitioned the disc in two equal halves,but when he tried to instal something on drive D ,the message came that it was not formatted.He then tried to format it using two different methods but the message stated that windows could not format it.He has xp home and NTFS.What has he overlooked?