The OS needs to be able to read the disk. The BIOS with LBA will deal with the drive size.
Upgrade the BIOS if you are not sure.
I have an HP Pavilion a305w desktop computer which I bought in 2003. I know from the specs that it is a 3.5" 40 Gb Ultra DMA 5400 rpm hard drive. I'd like to upgrade to a much bigger capacity, like 250 Gb. What variables do I need to consider? Do I need to stick with the 5400 rpm? Certain manufacturers? BIOS or motherboard issues?