St. Louis Post Dispatch has a how-to on buying hiking boots.

“We start with the socks,” says Bono. “First thing we ask is how are your socked feet? Cold and clammy? Hot and sweaty?” After they set you up with the right socks, they move on to an examination of the feet.

Having the right socks is half the battle, in my experience.