CentOS7 modify screen resolution

Source: Internet
Author: User
After CentOS7 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 grub. cfg file CentOS7 using grub2, while the file to be modified in grub2 is/boot/grub2/grub. cfg; find linux16/vmlinuz-3.10.0-22

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 usesGrub2In grub2, the file to be modified 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.utf8 vga = ask systemd. debug

 

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

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 vga = 32A systemd. 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 ).

Related Article

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.