I want to avoid starting up in GUI mode. I used to edit /etc/inittab but this does not existing anymore.
/etc/inittab does not exist anymore because last year, in sync with the upstream Debian source, Raspbian switched to using systemd in place of SysV as the init daemon.
Systemd does not use runlevels; the parallel concept would be targets although it is not in many cases an exact parallel (in this context it more or less is, however). Systemd is not specific to Raspian, Debian, or the pi and there is plenty of further reading you can do about it online.
Anyway, in this case
sudo systemctl set-default multi-user.target
Should get you what you want (console based login).
Added Aug/2016: Beware that at least some recent versions of Raspbian "-lite" may use
graphical-target as the default despite the fact that the lite version does not include the GUI fundamentals and hence can only present a console login. Further, if you happen to notice this and change the target to
multi-user, the system will fail to boot with most essential services running. In short someone who did not know what they were doing did something absurd, and hopefully it will get corrected...
Goldilocks comments are correct.
The easiest solution is to use
raspi-config (or the GUI equivalent if already in GUI) to boot to the console.
protected by Community♦ Aug 2 '16 at 12:44
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?