RHEL7/CentOS7 default running level and terminal resolution
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
Use systemctl to add custom system services on CentOS 7
Compile and install LNMP in CentOS 7.0
CentOS 7.0 experiences different from previous versions
Official CentOS 7 release and download
Red Hat Enterprise Linux 7 is now available for users to download
RHEL 6.3 installation tutorial
Red Hat Linux 7.0 installation illustration
64-bit CentOS 6.5 Installation Method
64-bit CentOS 6.4 dual-system installation in Win7
Precautions for installing CentOS and Windows systems
Install Windows 8 and CentOS on UEFI + GPT