They are basically the same. "whole" comes from Germanic languages and "entire" comes from Latin, but they share the same meaning. We have both because they have different origins.
They collocate with different words and idioms, but outside of those uses they can be changed out for each other freely.