The critical buckling load determination of Euler-Bernoulli beams on two-parameter elastic foundations (EBBo2PFs) is important to avert buckling failures. The governing equation for buckling of thin beam on two-parameter elastic foundation is a homogeneous ordinary differential equation (HODE) of fourth order and constant parameters when the beam is prismatic and homogeneous. The HODE has been solved in this work by Galerkin method for simply supported, clamped and clamped-simply supported ends. One-parameter algebraic shape function formulation was used to reduce the problem to an algebraic eigenvalue problem, which is solved to find the critical buckling load for each studied case. The critical buckling load for EBBo2PF for simply supported boundary conditions was found to be closely identical to the exact solutions. The solutions for clamped-clamped edges and clamped-simple supports were found to be accurate. The merit of the Galerkin method is the simplicity and the accuracy even when one-parameter shape function has been used.