Linux boot files targets runlevel

1 /boot/grub/grub.conf contains boot disk parameters
2 /etc/fstab contains file systems which need to mount at boot time
3 /etc/initab contains default runlevel
4 /etc/init.d/rc.d/rcN.d

root@localhost ~]# cat /etc/inittab
# inittab is no longer used when using systemd.

[root@localhost ~]# systemctl get-default 
graphical.target
[root@localhost ~]#

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 and 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 

Comments

Popular posts from this blog

HAproxy logging

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all