Change virtual console resolution on Ubuntu

When installing Ubuntu Server 11.10 on my Windows-hosted VirtualBox the default console resolution is very small (640x480 I think). But changing it is very easy.

The solution

In the Ubuntu console window, open the following file in your editor of choice:

sudo vim /etc/default/grub

Uncomment the following line and set another resolution for it, for instance 1024×768:


Next, write this new information for the next boot with the command:

sudo update-grub2

And then reboot to see the effect:

sudo shutdown -r 0


2 Responses to “Change virtual console resolution on Ubuntu”

  1. Kyle Skrinak says:

    Very simple, very easy. Thanks, works great. (ubuntu 12.04, VB 4.2.0 on Win7)

  2. Communist Terrorist Jihad 420 69 says:

    Thanks! This worked for Ubuntu Server 12.04.2. Looked all over the Internet and this was the only thing that worked.

Leave a Reply

Twitter: @mikeplate