Another option is the keg the 5 gallons and then bottle 1/2 of it from the keg once it's carbonated

The carbonation tool in BeerSmith to figure out how much priming sugar you need based on Vol of CO2, Temp, and Beer Vol. It will basically tell you that 2.5 gallons requires 1/2 of what 5 gallons requires.