Debian console size in VirtualBox

20,481

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.

Share:
20,481

Related videos on Youtube

manatwork
Author by

manatwork

I enjoy programming in two ways: when working, I use the most adequate tool for each task when relaxing, I use the least adequate tool for each task

Updated on November 25, 2022

Comments

  • manatwork
    manatwork 12 months

    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?

  • Admin
    Admin about 10 years
    Thanks Risto for your reply. With slight modifications, and with the help of askubuntu.com/questions/18444/… I was able to solve my problem.
  • Admin
    Admin about 10 years
    Glad to hear that you solved the problem!
  • Admin
    Admin about 8 years
    doesn't work in debian 8.2 jessie on VMWare Workstation 12
  • Admin
    Admin over 7 years
    Is there a way to do this without GRUB? As in, not taking GRUB into account -- when the system has already been booted?