12

I installed Debian 7.2.0 as a guest operating system on VirtualBox 4.2.18 (host OS is Windows 7). I installed Debian without any graphical user interface. When I start up Debian, the console size is awfully small (about 80x40). How could I change that?

1 Answer 1

9

The resolution of virtual consoles can be set by adding the following lines to /etc/default/grub and then running update-grub (maybe as root):

GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep

Just change the 1024x768 to the resolution you want.

4
  • 2
    Thanks Risto for your reply. With slight modifications, and with the help of askubuntu.com/questions/18444/… I was able to solve my problem.
    – tuope
    Oct 31, 2013 at 19:02
  • Glad to hear that you solved the problem!
    – user37607
    Oct 31, 2013 at 19:05
  • doesn't work in debian 8.2 jessie on VMWare Workstation 12
    – Gizmo
    Sep 8, 2015 at 21:06
  • Is there a way to do this without GRUB? As in, not taking GRUB into account -- when the system has already been booted? Jul 25, 2016 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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