Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project

KVM, Libvirt, QEMU quirks, tips, tricks etc


This is meant as a collaborative place for minor topics related to KVM, Libvirt and QEMU that neither fits in another howto or need a howto of its own. Little things you pick up when using these that might be important to other users. Please add things chronologically with a headline(5). Use headline(3) if you need to split it into sections. Leave some empty spaces between each minor topic. The original author will organizer this article better if needed.

Increasing guest console/framebuffer resolution


In some or most cases when you start the guest OS/VM OS, you will have a lesser resolution than your host OS or what your GPU display allows. To solve this issue AFTER the installation, you can do this with the bootloader. Since I use Grub mostly, this solution is Grub centric, but there should be similar solutions in other bootloaders.

Increasing VM console/framebuffer resolution with Grub2

When you start the VM and Grub2 menu shows, press ctrl+c to enter the console. Use these two lines to gather info about your resolution options.

grub> set pager=1
grub> vbeinfo

Note down a resolution you want to use. It would be a good idea to NOT choose the max resolution, but rather something close to the max resolution.

Edit your /etc/default/grub file


Then run grub-mkconfig -o /boot/grub/grub.cfg to make the change effective.

Without modesetting, you will probably have to configure X manually to set the correct resolution. If you don't add nomodeset, only the “Linux splash” will set to the chosen resolution, but not the final console/framebuffer.

Another example here




* Originally started by zeebra

In Other Languages
Translations of this page?:
QR Code
QR Code howtos:emulators:kvm_libvirt_qemu_quirks_tips_etc (generated for current page)