How to change default runlevel?

Note;
You can set default targets (upon next boot) that are more or less equal to old runlevels - to do so;

Set old init 3 ( multiuser + console ):

systemctl set-default multi-user.target

Set old init 5 ( multiuser + graphical ):

systemctl set-default graphical.target

To view your current default target:

systemctl get-default

To switch targets (runlevels) on the fly;

systemctl isolate multi-user.target

Warning: this will KILL your graphical user interface so if you have any programs running, make sure you have saved all data.

1 Like