I think the title does not reflect my problem very well. Feel free to leave a comment with a more appropriate title.
Let $f \in L^1([0,1])$. How do I prove there exists a partition of $[0,1]$ into intervals $I_1 \dot\cup \dots \dot\cup I_N$ such that $$\int_{I_i} |f| \mathrm{d}\lambda = \frac{1}{N} \int_{[0,1]} |f| \mathrm{d}\lambda$$ for all $i \in \{1,\dots,N\}$?
Some thoughts: I want to show there exists $b \in [0,1]$ such that for the first interval $[0,b] \subseteq [0,1]$
$$\int_{[0,b]} |f| \mathrm{d}\lambda = \frac{1}{N} \int_{[0,1]} |f| \mathrm{d}\lambda \tag{$\ast$}.$$
Let $h_n := \frac{1}{2^n}$, $b_0 = 1$ and for $n > 0$ set $b_n = b_{n-1} - h_n$ if
$$\int_{[0,b_{n-1}]} |f| \mathrm{d}\lambda > \frac{1}{N} \int_{[0,1]} |f| \mathrm{d}\lambda$$
and $b_n = b_{n-1} + h_n$ otherwise.
Since $|b_i - b_j| \leq \sum_{k=i}^j \frac{1}{2^k}$ supposing $j \geq i$, the sequence $(b_n)$ is Cauchy and converges to some $b$. I still need to show ($\ast$):
Consider the subsequences $(b_{n_k})$ and $(b_{n_k'})$ with
$$ \int_{[0,b_{n_k}]} |f| \mathrm{d}\lambda > \frac{1}{N} \int_{[0,1]}|f|\mathrm{d}\lambda \quad\text{and}\quad \int_{[0,b_{n_k'}]} |f| \mathrm{d}\lambda \leq \frac{1}{N} \int_{[0,1]}|f|\mathrm{d}\lambda \tag{$\ast\ast$} $$
for all $k \in \mathbb{N}$.
From the above, I know that the sequence of characteristic functions $\chi_{[0,b_n]}$ converges to $\chi_{[0,b]}$ since for each $\varepsilon > 0$ I find $m \in \mathbb{N}$ such that for all $n \geq m$
$$ \int_{[0,1]} |\chi_{[0,b]} - \chi_{[0,b_n]}| \mathrm{d}\lambda = |b_n - b| < \varepsilon. $$
The same holds for the subsequences of characteristic functions generated by the subsequences $(b_{n_k})$ and $(b_{n_k'})$. Dominated convergence applied to ($\ast\ast$) should give the claim.
Have I made any mistakes?