Following my struggle to adjust the resolution of a CLI Ubuntu minimal guest in VirtualBox, I have been trying to find a way to automatically adjust the resolution to the window size. This should be doable because for example when you open terminal in Ubuntu (or other UniX like GUI OSes), it automatically adjusts to the windows size automatically.
What I'm not looking for:
I already know how to adjust the resolution to any of the available options in the
GRUB>vbeinfo by editing the
/etc/default/grub as explained in my former SO post
What I need:
The CLI to automatically adjust to the window size. for example when I exit fullscreen it gets smaller to fit the window. This behaviour already exists in GUI interfaces (Unity and GNOME...)
GNU documentation page states:
grub-mkconfig will normally load all available GRUB video drivers
Note that you can only use modes which your graphics card supports via VESA BIOS Extensions (VBE), so for example native LCD panel resolutions may not be available.