Given that $A^3=2A^2-A$, we define $f(x)=x^3-2x^2+x=x(x-1)^2$. As $f(A)=\mathbf{O}$, the minimal polynomial $p(x)$ of $A$ divides $f(x)$. So, the possible candidates for $p(x)$ are
$$x,\,x-1,\,x(x-1),\,(x-1)^2,\,x(x-1)^2$$
When $p(x)=x$, we have $A$ equals to the zero matrix which satisfies the condition.\\
When $p(x)=x-1$, we have $A$ equals to the identity matrix which satisfies the condition.\\
When $p(x)=(x-1)^2$, there is no such $A$ satisfies the given condition.\\
When $p(x)=x(x-1)$, the Jordan canonical form is