How to modify the centos system resolution in a virtual machine
This article mainly introduces how to modify the resolution of the centos system in the virtual machine, the article is very detailed, has a certain reference value, interested friends must read it!
Use the vmware virtual machine to install the centos system, the default resolution is very low, you can use the following methods to modify the resolution of the centos system in the virtual machine.
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 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet vga=791
4. Restart the system after saving the file
Attached: resolution reference table (for example, the resolution of 791 is 10240768)
The above is all the contents of the article "how to modify the resolution of the centos system in the virtual machine". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!