[step:Surjectivity for general $\mu$, $p \in (1, \infty)$, by localising to a $\sigma$-finite carrier]Finally, let $\mu$ be an arbitrary measure (not necessarily $\sigma$-finite) and $p \in (1, \infty)$. Fix $\psi \in L^p(\mu)^*$.
We claim there exists a $\sigma$-finite measurable set $\Omega_0 \subseteq \Omega$ such that $\psi(f) = \psi(f \mathbb{1}_{\Omega_0})$ for all $f \in L^p(\mu)$. Construct $\Omega_0$ as follows: let $\mathcal{S}$ denote the set of $\sigma$-finite measurable subsets of $\Omega$, and define
\begin{align*}
M := \sup\{\|\psi|_{L^p(S)}\| : S \in \mathcal{S}\}.
\end{align*}
Here $L^p(S) := \{f \in L^p(\mu) : f = 0 \text{ a.e. outside } S\}$, a closed subspace of $L^p(\mu)$. We have $M \le \|\psi\|$. Choose $S_n \in \mathcal{S}$ with $\|\psi|_{L^p(S_n)}\| > M - 1/n$, and set $\Omega_0 := \bigcup_n S_n$. Then $\Omega_0 \in \mathcal{S}$ (countable union of $\sigma$-finite sets is $\sigma$-finite) and $\|\psi|_{L^p(\Omega_0)}\| \ge \|\psi|_{L^p(S_n)}\| > M - 1/n$ for all $n$, so $\|\psi|_{L^p(\Omega_0)}\| = M$.
Now suppose $f \in L^p(\mu)$. We show $\psi(f \mathbb{1}_{\Omega \setminus \Omega_0}) = 0$. The support $\{f \mathbb{1}_{\Omega \setminus \Omega_0} \ne 0\} \cap \Omega_0 = \varnothing$. Set $T_f := \{f \ne 0\} \setminus \Omega_0$. Since $f \in L^p$, the set $T_f$ is $\sigma$-finite (write $T_f = \bigcup_k \{1/(k+1) < |f| \le 1/k\} \cup \{|f| > 1\}$, each having finite measure: e.g. $\mu(\{|f| > 1\}) \le \int |f|^p \, d\mu < \infty$). Then $\Omega_0 \cup T_f \in \mathcal{S}$.
By construction, $f \mathbb{1}_{\Omega \setminus \Omega_0} \in L^p(\Omega_0 \cup T_f)$ (it vanishes outside $T_f \subseteq \Omega_0 \cup T_f$) and also $f \mathbb{1}_{\Omega \setminus \Omega_0} \in L^p(T_f)$. We split: define $\psi_1, \psi_2 \in L^p(\Omega_0 \cup T_f)^*$ by $\psi_1(h) := \psi(h \mathbb{1}_{\Omega_0})$ and $\psi_2(h) := \psi(h \mathbb{1}_{T_f})$, so $\psi|_{L^p(\Omega_0 \cup T_f)} = \psi_1 + \psi_2$ on functions supported in $\Omega_0 \cup T_f$.
By Step 11 (applied to $\sigma$-finite $\mu|_{\Omega_0 \cup T_f}$ and $p \in (1, \infty)$, $q \in (1, \infty)$), there is $g \in L^q(\mu|_{\Omega_0 \cup T_f})$ with $\psi(h) = \int_{\Omega_0 \cup T_f} h g \, d\mu$ for $h \in L^p(\Omega_0 \cup T_f)$, and the operator norm of this restriction equals $\|g\|_q$. Decompose $g = g_1 + g_2$ with $g_1 := g \mathbb{1}_{\Omega_0}$, $g_2 := g \mathbb{1}_{T_f}$. Then $\psi_j(h) = \int h g_j \, d\mu$ and disjointness of supports gives
\begin{align*}
\|\psi|_{L^p(\Omega_0 \cup T_f)}\|^q = \|g\|_q^q = \|g_1\|_q^q + \|g_2\|_q^q = \|\psi_1\|^q + \|\psi_2\|^q.
\end{align*}
Now $\|\psi_1\| = \|\psi|_{L^p(\Omega_0)}\| = M$ and $\|\psi|_{L^p(\Omega_0 \cup T_f)}\| \le M$ (by definition of $M$, since $\Omega_0 \cup T_f \in \mathcal{S}$). So $M^q \ge M^q + \|\psi_2\|^q$, forcing $\|\psi_2\| = 0$, i.e. $\psi_2 \equiv 0$, in particular $\psi(f \mathbb{1}_{\Omega \setminus \Omega_0}) = \psi_2(f) = 0$.
Therefore $\psi(f) = \psi(f \mathbb{1}_{\Omega_0}) + \psi(f \mathbb{1}_{\Omega \setminus \Omega_0}) = \psi(f \mathbb{1}_{\Omega_0})$ for every $f \in L^p(\mu)$. Apply Step 11 on $\Omega_0$ to get $g_0 \in L^q(\mu|_{\Omega_0})$ with $\psi(f \mathbb{1}_{\Omega_0}) = \int_{\Omega_0} f g_0 \, d\mu$ for $f \in L^p(\Omega_0)$. Extend $g_0$ by zero on $\Omega \setminus \Omega_0$ to get $g \in L^q(\mu)$, then for any $f \in L^p(\mu)$:
\begin{align*}
\psi(f) = \psi(f \mathbb{1}_{\Omega_0}) = \int_{\Omega_0} f g_0 \, d\mu = \int_\Omega f g \, d\mu = \varphi_g(f).
\end{align*}
This proves surjectivity for general $\mu$ when $p \in (1, \infty)$.[/step]