unable to install windows 2012 r2 server as a guest OS - install boot loop

Danik

Active Member
Jan 13, 2012
38
1
28
Want to install windows 2012 r2 as a guest and when the server is booting then the virtual machine shows the text"Loading Files", then I see the Windows server 2012 icon and the server do a reboot.


Code:
pveversion -v
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1


vm config
Code:
bootdisk: sata0
cores: 4
cpu: kvm64
ide2: local:iso/en_windows_server_2012_r2_x64_dvd_2707946.iso,media=cdrom
memory: 4096
name: w2k13r2
net0: e1000=46:1B:AF:9D:86:A1,bridge=vmbr1
ostype: win8
sata0: local:112/vm-112-disk-1.qcow2,format=qcow2,cache=writeback,size=32G
sockets: 1

have tried to change sata/virtio/ide hard drives
and cpu type from host to Haswell
 
1. upgrade to latest version
2. do not use SATA (use IDE or VIRTIO)
 
What processor selection did you use?

On my last test I used a Haswell selection and was able to install. Not sure why I left it at that, but its worth a try. I'm guessing once I got around the loop I left it alone.

edit: Opps see that now in your config, but still worth a try.
 
I can approve that win2k12r2 easily installs on 3.2-4/e24a91c1 (as Tom wrote). Moreover it supports Vadim Rozenfeld's qxlwddm driver - researching was done there.


root@camel:~# pveversion -v
Code:
proxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1
root@camel:~# cat /etc/pve/qemu-server/100.conf
Code:
balloon: 512
bootdisk: virtio0
cores: 2
cpu: kvm64
ide0: none,media=cdrom
memory: 4096
name: test
net0: virtio=7A:73:8A:49:3B:26,bridge=vmbr0
ostype: win8
sockets: 1
vga: qxl
virtio1: local:100/vm-100-disk-1.qcow2,format=qcow2,cache=writeback,size=20G
 
I can approve that win2k12r2 simply installs on virtio hdd:
Code:
root@camel:~# pveversion
pve-manager/3.2-4/e24a91c1 (running kernel: 2.6.32-29-pve)
Also there's qlx driver support for win2k12r2.
 
Last edited:
i have tried instruction from http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_3.x_to_latest_3.2

my apt is
Code:
deb http://http.at.debian.org/debian wheezy main contrib


# security updates
deb http://security.debian.org/ wheezy/updates main contrib

but after
Code:
# apt-get update && apt-get -y dist-upgrade

there is no updates

and my current proxmox version as I understand is 3.1

Code:
pveversion -v
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1

so the question is how to update it :)
 
great thanks

ok so for now it is

Code:
pveversion -v
proxmox-ve-2.6.32: 3.2-132 (running kernel: 2.6.32-31-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-31-pve: 2.6.32-132
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1

Code:
cat /etc/pve/qemu-server/112.conf
boot: cdn
bootdisk: ide0
cores: 4
ide0: local:112/vm-112-disk-1.qcow2,format=qcow2,cache=writeback,size=32G
ide2: local:iso/en_windows_server_2012_r2_x64_dvd_2707946.iso,media=cdrom
memory: 4096
name: w2k13r2
net0: e1000=46:1B:AF:9D:86:A1,bridge=vmbr1
ostype: win8
sockets: 1

from time to time after logo it shows for a second error text message and then restarts -> https://www.dropbox.com/s/fgi5e5bwrccqt9a/Screenshot 2014-08-21 06.43.20.png
 
this version looks ok, windows 2012r2 should work.

1. did you reboot your host after upgrade?
2. pls provide also details about your physical hardware?
3. is the win ISO image ok?
 
1 I did reboot after system upgrade
2 ok if there is something more needed please specify:
Code:
cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
stepping	: 7
cpu MHz		: 3399.757
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6799.51
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual

I have software raid -> lvm -> ext4 on it 

cat /proc/meminfo
MemTotal:       16147868 kB
MemFree:        10834828 kB
Buffers:           24124 kB
Cached:          1079088 kB
SwapCached:            0 kB
MemCommitted:    1048576 kB
VirtualSwap:           0 kB
Active:          4257788 kB
Inactive:         758900 kB
Active(anon):    3924548 kB
Inactive(anon):    41964 kB
Active(file):     333240 kB
Inactive(file):   716936 kB
Unevictable:       68164 kB
Mlocked:           68176 kB
SwapTotal:      31248376 kB
SwapFree:       31248376 kB
Dirty:               168 kB
Writeback:             0 kB
AnonPages:       3981704 kB
Mapped:            66200 kB
Shmem:             45664 kB
Slab:              71592 kB
SReclaimable:      34208 kB
SUnreclaim:        37384 kB
KernelStack:        2272 kB
PageTables:        17136 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    39322308 kB
Committed_AS:    5314540 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      650604 kB
VmallocChunk:   34359022848 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        8192 kB
DirectMap2M:    16488448 kB

3. yes it is MSDN iso I have checked checksum and also is initialing ok on hardware server :(
 
Same issue on 3.2-30 running on an HP DL380 G5, tried changing from IDE to VIRTIO and changing CPU to host, didn't help.

Code:
root@carina ~# pveversion -vproxmox-ve-2.6.32: 3.2-136 (running kernel: 2.6.32-32-pve)
pve-manager: 3.2-30 (running version: 3.2-30/1d095287)
pve-kernel-2.6.32-32-pve: 2.6.32-136
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-1
pve-cluster: 3.0-14
qemu-server: 3.1-34
pve-firmware: 1.1-3
libpve-common-perl: 3.0-19
libpve-access-control: 3.0-15
libpve-storage-perl: 3.0-22
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-5
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
root@carina ~#

Does anyone have any further insight as to how to address this?

ETA: I did follow all the steps in here: https://pve.proxmox.com/wiki/Windows_2012_guest_best_practices
 
Last edited:
Can you post your vm config file ? /etc/pve/qemu-server/vmid.conf

FIXED: The problem was that on my machine, the NX (no execute) bit was set to disabled in my BIOS. This works fine in Ubuntu, but Windows absolutely requires support for it. I changed this setting and it works fine now.

This should really be added to the Wiki. I don't think we mere mortals have the ability to add content though :)
 
  • Like
Reactions: ebiss

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!