How to configure systemd to boot Linux to console mode (runlevel 3)?

How to configure Linux (am using Fedora 21) managed by systemd to boot to console (init 3) mode?

asked May 16, 2015 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

systemd has the concept of targets as a more flexible replacement for runlevels in sysvinit.

Runlevel 3 is emulated by multi-user.target. runlevel3.target is a symbolic link to multi-user.target.

You can switch to 'runlevel 3' by running

# systemctl isolate multi-user.target 

Another option is to use kernel command line arguments.

On boot, systemd activates the target unit default.target whose job is to activate services and other units by pulling them in via dependencies. systemd parses its own kernel command line argument systemd.unit=.

This may be used to temporarily boot into the multi-user.target boot unit:

systemd.unit=multi-user.target
answered May 16, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...