Proof (basis vectors of eigenspaces are linearly independent)
Let $$ B_i = \set{\v x_1^{(i)}, \v x_2^{(i)}, \ldots, \v x_{m_{\lambda_i}}^{(i)}} $$ where $m_{\lambda_i} = \dim E_{\lambda_i}$ is the geometric multiplicity of $\lambda_i$.
Consider a linear combination of all elements in $B$ that gives $\v 0$, $$ \v 0 = \sum_{i=1}^r \sum_{j=1}^{m_{\lambda_i}} \alpha_{ij} \v x_j^{(i)}. $$
We would like to destroy some elements here by for all $k=1,2,\ldots, r$, $$ (A - \lambda_k I) \v x_j^{(i)} = \lambda_j\v x_{j}^{(i)} - \lambda_k\v x_j^{(i)} = (\lambda_j - \lambda_k)\v x_j^{(i)}, $$ so for all $K=1,2,\ldots,r$, apply $$ \prod_{k=1,2,\ldots,{\color{red}\overline K},\ldots,r} (A - \lambda_k I) $$ (where $\color{red}\overline K$ means missing out $K$ in $1,2,\ldots,r$) to the equation. Then we get $$ \v 0 = \sum_{j=1}^{m_{\lambda_K}} \alpha_{Kj} \prod_{k=1,2,\ldots,{\color{red}\overline K},\ldots,r} (\lambda_K - \lambda_k) \v x_j^{(K)}. $$
$\lambda_K - \lambda_k\neq 0$ as all $\lambda_i$ are distinct, but $\v x_j^{(K)}$ is linearly independent as they form a basis of $B_K$.
Hence $$ \alpha_{Kj} = 0, \qquad\forall j=1,2,\ldots, m_{\lambda_K} $$ for all $K$. Therefore $B$ is linearly independent.