CentOS7 terminal resolution Modification
RHEL7 has been out for a while, and finally ushered in CentOS7. It was installed last night when it was okay. Because it was installed in the VM, After completion, the terminal interface had a high resolution and was difficult to operate, there is no way to change it. RHEL7 uses grub2 instead of grub, so this article is available. If you have used Ubuntu, you should know that grub2 is used after 12.04.
Let's talk about it more. Let's modify the resolution first;
In grub, we modified/boot/grub. conf. In grub2, the file to be modified is/boot/grub2/grub. cfg; find
Linux16/vmlinuz-3.10.0-123.el7.x86_64 root = UUID = 881ac4e6-4a55-47b1-b864-555de7051763 ro rd. lvm. lv = centos/swap vconsole. font = latarcyrheb-sun16 rd. lvm. lv = centos/root crashkernel = auto vconsole. keymap = us rhgb quiet LANG = en_US.UTF-8
Add vga = 0x ??? (Question mark indicates the resolution code.) paste a corresponding table here to facilitate viewing.
The modification is as follows:
The second is to modify the running level. We all know that in grub, the/etc/inittab is modified, and the corresponding number is changed, but it also changed in grub2, when we open the/etc/inittab, the following occurs:
RHEL7 uses systemd to create a symbolic link pointing to the default running level. Remember to reboot when you finish.
# Ln-sf/lib/systemd/system/runlevel ?. Target/etc/systemd/system/default.tar get
For example, if I change the default running level to a character terminal, the command is used:
# Ln-sf/lib/systemd/system/runlevel13.target/etc/systemd/system/default.tar get