|If it's a Western Digital drive the correct jumper setting will be 'no jumper', not master, unless you have a slave hard drive on the same cable.|
Assuming it's the drive size that's the problem, check the HP site for a bios upgrade.
If no bios upgrade is available or it doesn't help, the drive will probably have a 'cylinder limiting jumper' to allow an older bios to see the drive correctly. You can jumper that so the PC will see it OK and then use a bios overlay utility to make use of the entire capacity.
You're not really green until you're soylent green.