Adjust the terminal resolution after minimal Centos installation

Source: Internet
Author: User
Problem Description: to minimize the installation of CentOS, there is no graphical interface by default. However, the command line interface is very small (800*600 by default), and many outputs are forced to write with line breaks, affecting the appearance. So the question is, how can I adjust the terminal resolution? Solution: modify the boot program configuration/boot/grub. confll/boot/grub/# check that the grub directory contains grub. conf & n.

Problem Description: to minimize the installation of CentOS, there is no graphical interface by default. However, the command line interface is very small (800*600 by default), and many outputs are forced to write with line breaks, affecting the appearance. So the question is, how can I adjust the terminal resolution?

Solution:

Modify boot program configuration/boot/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. conf # Open grub. conf

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

After saving, reboot restarts the system.

For example, because the resolution of my notebook is 1366*768, adjust the resolution to 1366x768x32, so enter: 34C here and press enter.

After the system is started, the resolution is 1366*768. However, it is too troublesome to input each time. If you want to make the changes once and for all, you need to make the following changes:

Continue to edit/boot/grub. conf;

At the end of the kernel, change "vga = ask" to "vga = 0x34C", for example:

After saving it, restart it!

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.