Hello, i need to change the default runelvel in raspberry pi 2.
how can i do?
You'd need to revert to Jessie. sysvinit was removed in Stretch. There's no such thing with systemd. Stop trying to follow out of data instructions. Reject anything you find on the internet that was published more than a year ago (when Buster came out).
You can still do init 2 to set run level 2, but it wont do what you expect.For compatibility with SysV, if systemd is called as init and a PID that is not 1, it will
execute telinit and pass all command line arguments unmodified. That means init and
telinit are mostly equivalent when invoked from normal login sessions. See telinit(8) for
You can install the full RPiOS and then configure it to boot to the CLI. That will allow you start Xwindows when you want to (or not).22over7 wrote: ↑Tue Jun 23, 2020 5:01 amI'm new to Pi (still waiting for my Pi4) and I have a question related to runlevel: For my usage scenario, half of the time I want to access the graphics desktop, and the other half of the time I will access it headless and use x11 forward to run a couple of programs. If I install the raspberry OS desktop version, how should I change the run level (or whatever the systemd equivalence) so that Pi4 starts from text mode, and then I can run startx as needed?
Alternatively, should I install raspberry OS lite and then manually install the desktop as explained in
but then I will miss various packages... ?