Monday, 25 January 2010

XenServer \ Windows Server 2008 R2 installation hangs on “Starting Windows”


I have noticed some issues with installing 2008 R2 Server on a virtual (which for our XenApp for R2 tech preview farm is a common task!) – it seems to sometimes hang on “Starting Windows”, with the CPUs running at a steady 50%, even if I have already build R2 VMs on the same server that day.

After a quick trawl through the forums this seems to happen in VirtualBox and XenServer and some people fixed it by changing the memory settings.  I did give it 2000mb, which is a bit weird, so I adjusted the other VMs on the server to free up some RAM and upped it to a more normal 2048mb.  Booted again and bam, works first time.  You know its good because the very un-server animation of the Windows logo appears above Starting Windows and then its all go.


I tried some different configurations – 2000, 2001 and 1024mb do not work, 1536, 2047 and 2048 DO work.  Every time.  I give up trying to find a pattern at this point. 

Basically if you get this issue with 2008 R2 on a Virtual, pick a number (any number) and change the RAM to it.  It might work.


Anonymous said...

Executando Windows Server 2008 R2 e Windows 7 no XenServer 5
Posted on janeiro 4, 2010, 11:46 am, by Roberto Mascarenhas Braga.

Quem já tentou executar a instalação do Windows Server 2008 R2 e/ou do Windows 7 como sistemas operacionais hosts em um ambiente Citrix XenServer deve ter se deparado com o seguinte problema: a instalação trava na tela inicial (“Starting Windows”).

Este fato acontece devido a uma incompatibilidade entre o hypervisor da Citrix e o Hyper-V. O problema é resolvido com a execução do seguinte comando:

$ xe vm-param-set uuid= platform:viridian=false

Para descobrir o vmuuid (identificador único de cada VM), executar no console do XenServer:

$ xe vm-list name-label=

Para preencher o nome da VM, digitar apenas os primeiros caracteres e pressionar Tab para autocompletar.

Após a instalação do sistema operacional é importante instalar o XenServer Tools para que tudo funcione a contento. Este problema foi resolvido a partir da versão 5.5 do XenServer.

Post a Comment