Can't get beyond boot screen after booting from CD in KVM

James asked:

I’ve just installed KVM on Debian 6 64 bit and have created 2 guests and booted one of them.

I can connect via VNC and I get the Debian CD boot options (text/graphical install). I have tried selecting both and in both cases I get a blank screen after that. I figure the ISO should be ok since I can get that far, so my initial guess was the VGA driver on the guest. Unfortunately I have tried changing that as well with no luck.

Here is the XML file:

    <domain type='kvm'>
      <name>vm1</name>
      <uuid>8d6887d4-df2d-1a48-1357-8e256a4f7360</uuid>
      <memory>8388608</memory>
      <currentMemory>8388608</currentMemory>
      <vcpu>8</vcpu>
      <os>
        <type arch='x86_64' machine='pc-0.12'>hvm</type>
        <boot dev='cdrom'/>
      </os>
      <features>
        <acpi/>
        <apic/>
        <pae/>
      </features>
      <clock offset='utc'/>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/bin/kvm</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw'/>
          <source file='/var/lib/libvirt/images/vm1.img'/>
          <target dev='vda' bus='virtio'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/var/lib/libvirt/images/debian-6.0.6-amd64-netinst.iso'/>
          <target dev='hdc' bus='ide'/>
          <readonly/>
          <address type='drive' controller='0' bus='1' unit='0'/>
        </disk>
        <controller type='ide' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:01:38:4e'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'>
    </input>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='X.X.X.X' keymap='en-us' passwd='XXXXXXXX'/>
    <video>
      <model type='vga' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Any help appreciated!

My answer:


Quoting from the docs:

When you first install a Linux guest, use the “cirrus” video driver. Post installation, if you wish to have a resolution above 800×600, switch to the standard video driver.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.