Ask Your Question
1

Runlevel 3 in fedora 20?

asked 2014-02-28 09:18:23 -0500

Vitor Mazuco gravatar image

updated 2014-02-28 09:23:29 -0500

How can I edit runlevel 3 in Fedora 20?

When I use /etc/inittab the file don't exit

And now?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-02-28 09:24:43 -0500

Ahmad Samir gravatar image

updated 2014-02-28 11:50:29 -0500

If you mean make the system boot to runlevel 3 by default have a look here.

edit flag offensive delete link more

Comments

Ok, thanks so much!

Vitor Mazuco gravatar imageVitor Mazuco ( 2014-02-28 11:20:14 -0500 )edit

Just a side-note: it might be useful to include the pertinent information from the link in your answer, as links can change, not work for some, content on the linked page might change, etc.

ILMostro gravatar imageILMostro ( 2015-02-28 04:26:23 -0500 )edit
0

answered 2015-02-28 05:36:55 -0500

systemd does not use /etc/inittab!

According to the Fedora wiki:

systemd has the concept of targets which is a more flexible replacement for runlevels in sysvinit.
Run level 3 is emulated by multi-user.target.
Run level 5 is emulated by graphical.target.

runlevel3.target is a symbolic link to multi-user.target.
runlevel5.target is a symbolic link to graphical.target.

You can switch to 'runlevel 3' by running

 systemctl isolate multi-user.target

You can switch to 'runlevel 5' by running

 systemctl isolate graphical.target

_____________________________________________________________________________________________________________________________________________________
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----------------------------------------------------------------------------------------------------------------------------------------------------

NOTE!

systemctl isolate is used to start one daemon and stop ALL others. Some possible targets are

# systemctl isolate 
    ctrl-alt-del.target    initrd-switch-root.service    poweroff.target
    runlevel2.target    system-update.target    default.target
    initrd-switch-root.target    reboot.target    runlevel3.target
    system-upgrade.target    emergency.target    initrd.target
    rescue.target    runlevel4.target    upgrade-switch-root.service
    graphical.target    kexec.target    runlevel0.target
    runlevel5.target    upgrade-switch-root.target    halt.target
    multi-user.target    runlevel1.target    runlevel6.target

_____________________________________________________________________________________________________________________________________________________
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-----------------------------------------------------------------------------------------------------------------------------------------------------


For more information, take a look at the systemd page on the Fedora wiki and on the project's homepage.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-02-28 09:18:23 -0500

Seen: 11,668 times

Last updated: Feb 28 '15