Set centos console resolution

Source: Internet
Author: User

Problem description: to minimize the installation of centos, there is no graphical interface by default. This is exactly what I want. However, the command line interface is very small, and many outputs are forced to write with line breaks, affecting the appearance. So how can I adjust the terminal resolution?

Solution: Modify GuideProgramConfigure/boot/GRUB/grub. conf

Ll/boot/GRUB/# view the grub directory

There is a grub. conf file in this directory. It is the file to be modified. Some people modify menu. lst and menu. lst to connect to grub. conf. That is to say, they are still modifying grub. conf.

VI/Boot/GRUB/grub. conf # Open grub. conf

Add "VGA = ask" at the end of the kernel, for example:

After saving, reboot restarts the system.

 

For example, the first line is displayed after the restart. Press enter to display the resolution supported by the system. Enter K here, that is, the resolution will be adjusted to 800 × 600 × 24. Also, remember the number after K: 315 (if you do not want to choose this option each time, after entering the system, change VGA = ask to VGA = 315)

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.