如果系统想要以某种方式启动,使用systemd创建符号链接指向默认运行级别
修改方法为:
(1)删除已经存在的符号链接:
rm /etc/systemd/system/default.target
(2)默认级别转换为文本模式(级别为3):
ln -sf /lib/systemd/system/multi-user.target etc/systemd/system/default.target
(3)默认级别转换为5(图形模式):
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target