CentOS 7 screen resolution Modification

Source: Internet
Author: User

CentOS 7 screen resolution Modification

After CentOS 7 is installed, the screen resolution on the terminal interface is very high and difficult to operate. You can only modify the screen resolution.

1. Modify the grub. cfg file

CentOS 7 uses grub2, and the file to be modified in grub2 is/boot/grub2/grub. cfg;

Linux16/vmlinuz-3.10.0-229.11.1.el7.x86_64 root =/dev/mapper/centos-root ro rd. lvm. lv = centos/root rd. lvm. lv = centos/swap crashkernel = auto rhgb quiet LANG = zh_CN.utf8 1_emd. debug

Change to (add vga = ask ):

Linux16/vmlinuz-3.10.0-229.11.1.el7.x86_64 root =/dev/mapper/centos-root ro rd. lvm. lv = centos/root rd. lvm. lv = centos/swap crashkernel = auto rhgb quiet LANG = zh_CN.utf8vga = ask1_emd. debug

Or one step in place (add vga = 32A, not necessarily 32A), so you do not need to fill in the resolution modes every time you start:

Linux16/vmlinuz-3.10.0-229.11.1.el7.x86_64 root =/dev/mapper/centos-root ro rd. lvm. lv = centos/root rd. lvm. lv = centos/swap crashkernel = auto rhgb quiet LANG = zh_CN.utf8vga = 32Asystemd. debug

2. Restart

When vga = ask is used, press ENTER (See video modes available) To Go To The selection page after restart. In mode, you can select p (only the modes with specific resolution needs to be selected each time ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.