码迷,mamicode.com
首页 > 其他好文 > 详细

解决Vmware中安装Ubuntu Server 14.04 分辨率无法全屏问题

时间:2014-09-22 16:06:23      阅读:347      评论:0      收藏:0      [点我收藏+]

标签:style   io   os   ar   for   sp   问题   on   c   

We will have to edit grub configuration. Open a terminal and paste this:

  1. sudo gedit /etc/default/grub Hit Enter. It will open grub preferences in Gedit.

  2. Locate the line # GRUB_GFXMODE=800x600 (resolution may be different).

You have to change the resolution to actual resolution of your screen, for example mine is 1240x1024. Next step is to uncomment this line (remove the # and and the empty space if is, so the letter G of the word GRUB will be the first letter in this line). After you are done, save the file and close.

3 . Now paste this line in terminal:

sudo gedit /etc/grub.d/00_header .

Hit Enter. It will open a text file with a lot of stuff. Use the search option at the top of the window to locate this line:

gfxmode=${GRUB_GFXMODE}

After you successfully find it, you will have to add this line: set gfxpayload=keep just under the gfxmode=${GRUB_GFXMODE}. Make it look like this:

set gfxmode=${GRUB_GFXMODE}
set gfxpayload=keep

Now, save the file and close.

4 . In terminal paste:

sudo update-grub


解决Vmware中安装Ubuntu Server 14.04 分辨率无法全屏问题

标签:style   io   os   ar   for   sp   问题   on   c   

原文地址:http://my.oschina.net/mayboy24/blog/316407

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!