CentOS7 更改分辨率

vi /boot/grub2/grub.cfg

vga = ask 则每次开机之前都会选择分辨率


屏幕快照 2019-03-07 下午2.16.10.png

打开inittab

# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3 --->告诉我们multi-user.target相当于以前的runlevel 3
# graphical.target: analogous to runlevel 5 --->告诉我们graphical.target相当于以前的runlevel 5
#
# To view current default target, run:
# systemctl get-default
#
# To set a default target, run:
# systemctl set-default TARGET.target

你可能感兴趣的:(CentOS7 更改分辨率)