Skip to contentSkip to conversation

no screen output for '-vga vmware' at boot time

DISCUSSION Harald Dunkel 1 participant 1 message Jan 6, 2011 KVM

lore
Share & tools
lore
#0 lore raw

Hi folks,

Booting Debian Squeeze on the guest I get a line

Loading initrd...

the rest of the boot procedure is omitted. The initrd message is not scrolled off the screen.

The guest seems to boot, though. Kdm is shown as usual. If I switch back to /dev/tty1, then I finally see the last few lines of the lost screen output.

kvm command line:

kvm -m 512 -drive file=/dev/storage/vdpcl006.vda.lv -vnc :0 -usbdevice tablet -vga vmware

Using "-vga cirrus" there is no such problem.

The problem seems to be related to grub2 and changing the screen size at boot time. I have added these lines to the grub configuration on the guest:

	GRUB_GFXMODE=1024x768
	GRUB_GFXPAYLOAD_LINUX="keep"

If I omit these lines, then the guest boots as usual. There is also no problem with 1024x768 if I wait 10 seconds for grub and the screen size change before connecting the vncviewer. Timing seems an issue here.

Changing the vnc viewer did not help. I tried xvnc4viewer and the vnc client in virt-manager. xtightvncviewer was no option, cause it dies on each change of the screen size.

qemu-kvm is version 0.12.5+dfsg-5, as found in Debian. Kernel is 2.6.37 (host and guest). I could also reproduce the problem using Debian's distro kernel for Testing.

Any helpful comment would be highly appreciated.

Regards

Harri