I have a windows 7 host and a debian 8 guest. I already installed
virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms
as described in https://askubuntu.com/questions/3205/higher-screen-resolution-in-virtualbox. Before installing these packages I was able to select a maximum of 1024*768. After installation 1600*1200 was possible. But I simply want to use 1920*1080 fullscreen on my display.
Pressing Host-G is not possible. I seams this combination is deactivated.
How do I increase VirtualBox resolution past 800×600 in Linux?
Is there a way to do this?
Best Answer
A straightforward way of achieving that would be to change the specific configuration in the grub2 bootloader directly:
Find out the resolutions supported by your debian guest
c
until you see the grub console.vbeinfo
and hit enter. It will give you a list of supported resolutions.Edit
/etc/grub.d/00_header
auto
in the lineif [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi
with the new resolution. e.g.:if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1920x1080 ; fi
MODE
withPAYLOAD
. e.g.:if [ "x${GRUB_GFXPAYLOAD}" = "x" ] ; then GRUB_GFXPAYLOAD=1920x1080 ; fi
set gfxmode=${GRUB_GFXMODE}
. Add the following line below it:set gfxpayload=${GRUB_GFXPAYLOAD}
update-grub2
and rebooting afterwardsreboot
[Note]
I've seen many examples in which the default line
#GRUB_GFXMODE=640x480
in the file/etc/defaul/grub
in uncommented. It was proven to be unnecessary for me but in case you need it, remember toupdate-grub2
after you've uncommented it.