A complex surface is called minimal if it contains no $(-1)$-curves, while an elliptic surface $\pi : X \to C$ is called relatively minimal if the fibers of $\pi$ contain no $(-1)$-curves. It follows that there could be elliptic surfaces which are relatively minimal but not minimal. Such surfaces exist.
Example: Choose two conics in $\mathbb{CP}^2$ which intersect at nine points $p_1, \dots, p_9$. Then there is a pencil of cubics through these nine points, and this defines a map $\mathbb{CP}^2\setminus\{p_1, \dots, p_9\} \to \mathbb{CP}^1$ (given $p_1, \dots, p_9$ and a tenth point, there is a unique cubic in the pencil which passes through all ten points). As cubics in $\mathbb{CP}^2$ are elliptic curves by the degree-genus formula, blowing up $\mathbb{CP}^2$ at $p_1, \dots, p_9$ gives rise to an elliptic surface $\pi : \operatorname{Bl}_{p_1,\dots, p_9}(\mathbb{CP}^2) \to \mathbb{CP}^1$. Note that $\operatorname{Bl}_{p_1,\dots, p_9}(\mathbb{CP}^2)$ is not minimal, but $\pi : \operatorname{Bl}_{p_1,\dots, p_9}(\mathbb{CP}^2) \to \mathbb{CP}^1$ is relatively minimal (the fibers of $\pi$ intersect each $(-1)$-curve once).
I have seen it claimed that these are the only examples.
How does one show that a non-minimal, relatively minimal elliptic surface is a blowup of $\mathbb{CP}^2$ at nine points?
Suppose $X$ is the blowup of $Y$ at $k > 0$ points where $Y$ is minimal. If $\pi : X \to C$ is a relatively minimal elliptic surface, then $c_1(X)^2 = 0$, so $c_1(Y)^2 = k > 0$. It follows from the classification of surfaces that $Y$ must be rational, and hence biholomorphic to either $\mathbb{CP}^2$ (in which case $k = 9$) or a Hirzebruch surface $\Sigma_n$ with $n \neq 1$ (in which case $k = 8$). As $\Sigma_1$ is biholomorphic to the blowup of $\mathbb{CP}^2$ at a point, we can combine the previous two possibilities to conclude that $X$ is a blowup of a Hirzebruch surface $\Sigma_n$ at $8$ points.
How can I show that $n$ must be $1$?