Switching gentoo runlevels at boot

Back when I used to run Debian, it was very often very useful to be able to boot to a different runlevel from the default. In particular, when there were problems, it was great to boot to level S (single user, a minimal boot) and start fixing things.

Runlevels in Gentoo, which I’m using now, are handled differently (also because you generally use grub instead of lilo), and I didn’t know how to do this.

Happily, this gentoo forum thread holds the answer (hidden away amongst the dreck), which is that you can add “softlevel=<whatever>” to the kernel boot options when in the grub menu. So “softlevel=single” seems to do the trick.