Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running an Ubuntu server inside VMware workstation, when I run the VM the screen is really small. I want to increase it to something that fits in the whole VMware console.

I tried changing the GFX_MODE in /etc/default/grub, then I ran update-grub2. When I restarted it only made the grub menu HUGE. But once it booted into Ubuntu compltely it shrunk back down to the default resolution.

What am I missing?

share|improve this question
add comment

2 Answers

Try appending vga=791 to the linux (kernel) line (in /etc/default/grub).

See console Framebuffer for additional resolutions (if you want to lower it further).

share|improve this answer
1  
To what line in the config file? The link you gave me reffernces /boot/grub/menu.lst. Which does not exist in grub2. –  Solignis Dec 10 '11 at 0:43
1  
/etc/default/grub , see the " GRUB_CMDLINE_LINUX_DEFAULT="quiet splash", append it there -GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=791 Then update-grub as you did before (undo your previous edit as well). –  bodhi.zazen Dec 10 '11 at 0:53
1  
Is there a way to specify a resolution like 1024x768x32 for the GRUB_CMDLINE_LINUX_DEFAULT? Or can I only use VESA codes? –  Solignis Dec 10 '11 at 1:24
    
I am not sure with VMWare and your console resolution. You can certainly try it, it will not hurt anything. If that fails, that resolution is vga=824 –  bodhi.zazen Dec 10 '11 at 4:32
add comment

I used two parameters in /etc/default/grub:

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1366x768x24
# bug workaround
GRUB_GFXPAYLOAD_LINUX=keep

I found the second item by reading the shell scripts in /etc/grub.d.

Be sure to "set pager=1" before running vbeinfo so you can read the output.

Be sure to run "sudo update-grub" when you are done

share|improve this answer
    
Please do not post the same answer for multiple questions. –  RolandiXor May 17 '13 at 3:46
    
It may have been a repeat, but that was useful to me as I reached this page and do not know where his duplicate is. –  Alexis Wilke Jan 3 at 0:56
    
In server mode, one should use GRUB_GFXPAYLOAD_LINUX=1366x768x24 instead of GRUB_GFXMODE=1366x768x24 –  Pascal Mar 5 at 11:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.