You can solve the linear ODE in general with DifferentialRoot. Then use the general solution to solve your problem. (It wasn't clear to me exactly what that problem is.)
DifferentialRoot