Screen resolution

Discussions about using Linux guests in VirtualBox.
Post Reply
dejancrn
Posts: 2
Joined: 18. Jun 2017, 16:17

Screen resolution

Post by dejancrn »

I have installed Debian 9 in Windows Host without GUI. Since console size was small i successfully changed resolution to 1024x768 via GRUB_GFXMODE and GRUB_GFXPAYLOAD in /etc/default/grub. However, if i install Virtual Box Guest Additions, it does not work anymore. As soon as i selected boot option from GRUB menu it starts to boot and during the boot process it changes resolution to some smaller resolution. If i uninstall guest additions it keeps the resolution from GRUB menu.

Any ideas?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Screen resolution

Post by Perryg »

Without Xorg the auto-resize and/or increased screen resolution provided with the guest additions will not change. You must change console mode using framebuffers.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Screen resolution

Post by Perryg »

One other thing. The Guest Additions may interfere with the GFX_MODE because it requires X and to work around that you need to black list vboxvideo.
dejancrn
Posts: 2
Joined: 18. Jun 2017, 16:17

Re: Screen resolution

Post by dejancrn »

Blacklisting vboxvideo did the trick. Thank you for your help.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Screen resolution

Post by socratis »

For the uninitiated of us, would blacklisting mean something like this?
https://wiki.debian.org/KernelModuleBlacklisting
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Screen resolution

Post by Perryg »

Exactly! :wink:
Post Reply