Under kvm, Vista guest OS install halts on black screen

Posted by Isaac Sutherland on Server Fault See other posts from Server Fault or by Isaac Sutherland
Published on 2010-05-30T04:47:38Z Indexed on 2010/05/30 4:53 UTC
Read the original article Hit count: 410

Filed under:
|
|
|

I am using kvm on my ubuntu-server-10.04 amd64 dual core PC.

I am trying to install a Windows Vista guest OS. The installation proceeds properly until the system reboot halfway into the installation process, at which point it stops on a black screen and CPU usage goes to near zero.

I created the vm with virt-install as follows:

virt-install -n vista --connect qemu:///system -r 1024 -vcpus 2 \
        --os-type windows --os-variant vista                    \
        --virt-type kvm --accelerate                            \
        -c /dev/sr0                                             \
        --disk path=/dev/main/vista-hd                          \
        --network bridge=br0                                    \
        --vnc --noautoconsole

Where /dev/sr0 is the physical drive with the vista installation DVD, and /dev/main/vista-hd is a 20-GB lvm logical volume I created.

A number of people seem to have had success installing vista under KVM, but I haven't been able to determine what is causing my problem. Ideas anyone?

© Server Fault or respective owner

Related posts about ubuntu-server

Related posts about 64-bit