VMware修改默认开机方式

 1 1.首先删除已经存在的符号链接
 2 ----------------------------------------------------------------------------------
 3 rm /etc/systemd/system/default.target
 4 ----------------------------------------------------------------------------------
 5 2.默认级别转换为3(文本模式)
 6 ----------------------------------------------------------------------------------
 7 ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 8 ----------------------------------------------------------------------------------
 9 或者默认级别转换为5(图形模式)
10 ----------------------------------------------------------------------------------
11 ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
12 ----------------------------------------------------------------------------------
13 3.重启  reboot
14 ----------------------------------------------------------------------------------
15 reboot
重启即可看到自己默认init3 or init5(图形化界面、命令行界面)

猜你喜欢

转载自www.cnblogs.com/security-guard/p/11962010.html