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)