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!