[CentOS-virt] Windows 7 on a centos kvm host pauses after the installation reboot.

Mon Jun 9 13:41:49 UTC 2014
James B. Byrne <byrnejb at harte-lyne.ca>

On Sun, June 8, 2014 19:21, Eliezer Croitoru wrote:
> I am using Centos 6.5 as a kvm hypervisor with local ssd disks in raid
> and with glusterfs based storage for couple disk images.
> I have tried to install Windows 7 from ISO and it seems to pass the
> first stage of the installation which installs the basic files and also
> the first reboot.
> After that the installation is almost finished and the desktop should be
> up and running after a reboot but instead the Windows 7 machine gets
> paused before windows shows the windows 7 logo at the boot sequence.
>
> I have tried to find for a record of the issue in the past but found
> only tiny records which I did not understood from, if it was solved or not.
> The kvm host has 16GB of ram and 100GB of disk space.
> For this specific host I have used a disk image ontop of glusterfs but
> the same happens ontop of glusterfs and ontop of local disks.
>
> I have an ubuntu kvm host with less RAM and I can install windows server
> 2012 (which I was unable to install on the Centos 6.5 kvm host both 2012
> + windows 8 + windows 7).
>
> Two things:
> If anyone had or has the same issue please notify me.
> If anyone has a solution please share it.
>
> Thanks,
> Eliezer
>

1. Is there a CD/DVD drive associated with the VM?

2. If so, do you have a readable optical disk in the drive when starting the
Windows7 guest?

If the answer to 1 is yes and to 2 is no and your guest configuration file
shows this:

     30     <disk type='block' device='cdrom'>
     31       <driver name='qemu' type='raw'/>
     32       <source dev='/dev/sr0'/>
     33       <target dev='hdc' bus='ide'/>
     34       <readonly/>
     35       <address type='drive' controller='0' bus='1' target='0' unit='0'/>
     36     </disk>

then remove the line '<source dev='/dev/sr0'/>' and try again.

HTH.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3