Home > System Tutorial > LINUX > Modify the method of adjusting the resolution of CentOS virtual machine

Modify the method of adjusting the resolution of CentOS virtual machine

WBOY
Release: 2024-01-03 19:10:29
forward
636 people have browsed it

Use a vmware virtual machine to install the centos system. The default resolution is very low. You can use the following method to modify the resolution of the centos system in the virtual machine. Come with me to see it!

1,# vi /boot/grub/grub.conf

2, find the line of kernel, For example: kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_centos6-lv_root rd_NO_LUKS rd_NO_MD rd_LVM_LV=vg_centos6/lv_swap crashkernel=auto LANG=zh_CN.UTF-8 rd_LVM_LV=vg_centos6/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet

3, add vga=791

at the end of the line

kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=/dev/mapper/vg_centos6-lv_root rd_NO_LUKS rd_NO_MD rd_LVM_LV=vg_centos6/lv_swap crashkernel=auto LANG=zh_CN.UTF-8 rd_LVM_LV=vg_centos6/lv_root KEY BOARDTYPE =pc KEYTABLE=us rd_NO_DM rhgb quiet vga=791

4. After saving the file, restart the system

Attachment: Resolution reference table (for example, 791 is the resolution of 1024*768)

Modify the method of adjusting the resolution of CentOS virtual machine

The above is the detailed content of Modify the method of adjusting the resolution of CentOS virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template