Monday, May 28, 2012

Running Ubuntu Server in full screen mode - VirtualBox

I wanted to have Ubuntu Server in Full Screen mode or at-least wanted to increase its resolution while I was running server instances on Virtualbox. Below are the steps I took to change the resolution:




  • Open "grub.cfg" file. You can find this file in "/boot/grub/grub.cfg"


sudo vim /boot/grub/grub.cfg



  • Change the following assignments:
Change "set gfxmode=640x480" to "set gfxmode=1024x768"
Change "set gfxpayload=640x480" to "set gfxpayload= 1024x768"



  • Reboot your Ubuntu Server

Note: You can change the resolution from 1024x768 to any desirable resolution. I just used it as an example.

2 comments:

  1. On Ubuntu Server 13.10, the /boot/grub/grub.cfg file is a little different. Instead of a hardcoded resolution, the values are $linux_gfx_mode. I have no idea how to edit this script so I left it be.

    ReplyDelete
  2. Very useful. Searched for this for a while and wasn't able to get anything to work. This tutorial did the trick.

    ReplyDelete

I appreciate your comments/feedback/questions. Please do not spam or advertise.