Modifying the CentOS system resolution in a virtual machine

Source: Internet
Author: User

Using a VMware virtual machine to install the CentOS system, the default resolution is low and you can modify the resolution of the CentOS system in the virtual machine using the following methods

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

2, find the kernel line, 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 end of 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 (example 791 is 1024x768 resolution)

Modifying the CentOS system resolution in a virtual machine

Related Article

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.