after windows migration , kvm will not boot. stuck at 'Booting from Hard Disk...'

RobFantini

Famous Member
May 24, 2012
2,023
107
133
Boston,Mass
Hello,
we've had 5+ different windows systems fail backup/restore or migrations. the following is a paste of work notes... I'll edit later but have to finish for today. In all cases we were trying to move a kvm from non cluster pve's to our new cluster.

========================
restored win7 kvm backup to main node.
after start this displays on console. it stays stuck .
Code:
Booting from Hard Disk...

this has happened a few times before. never on a linux system.
cache is set to Default.
try some suggestions from forum


__ 1 core - NOPE
__ 2gb ram - NOPE
__ cpu type - host. NOPE. put back to default.
__ no cdrom . none was alread set.


_ try convert disk from raw to qcow2 NOPE


- check for a different type of migration. use cli . rsync _____________ Did not check and do.


- try restoring the kvm to pve87 , which has the same cpu, and motherboard .


THAT WORKED. SO SIMILAR HARDWARE IS NEEDED.
ON 1-ST BOOT THIS POPPED UP ON WINDOWS DESKTOP:
Windows created a temporary paging file on your computer because of a problem that .......3 more lines....
-----------------------------------------------------------------------------------

Document the nodes:


cat /proc/cpuinfo from . note just the last core is reported.


node running windows kvm was getting moved from. migration and backup / restore were tried.
Code:
processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
stepping        : 9
cpu MHz         : 1600.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 7
initial apicid  : 7
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 nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips        : 6784.06
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


restore failed here:
Code:
processor       : 15
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz
stepping        : 5
cpu MHz         : 2267.000
cache size      : 8192 KB
physical id     : 1
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 23
initial apicid  : 23
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
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 nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 4532.67
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:




node that restore was successful on:
Code:
processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
stepping        : 9
cpu MHz         : 3392.018
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 7
initial apicid  : 7
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 nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 x2apic popcnt aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips        : 6784.03
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:












pveversion -v is the same on all 3 nodes [ except list of unused kernels].
Code:
fbc89  ~ # pveversion -v
pve-manager: 3.0-23 (pve-manager/3.0/957f0862)
running kernel: 2.6.32-20-pve
proxmox-ve-2.6.32: 3.0-100
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-18-pve: 2.6.32-88
pve-kernel-2.6.32-17-pve: 2.6.32-83
lvm2: 2.02.95-pve3
clvm: 2.02.95-pve3
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-1
pve-cluster: 3.0-4
qemu-server: 3.0-20
pve-firmware: 1.0-22
libpve-common-perl: 3.0-4
libpve-access-control: 3.0-4
libpve-storage-perl: 3.0-8
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-13
ksm-control-daemon: 1.1-1


===========================
I think there is a bug with kvm backup / restore or migration between different cpu's or devices.

Maybe it is not a bug and that is how windows is designed.
 
Last edited:
Re: after windows migration , kvm will not boot. stuck at 'Booting from Hard Disk..

Hi,
can you post the VM-config?

perhaps you have something defined like "cpu=host"?

Udo


Code:
bootdisk: ide0
cores: 2
ide0: local:9901/vm-9901-disk-1.raw,format=raw,size=6148M
ide2: none,media=cdrom
memory: 1024
name: kwick-lok
net0: e1000=76:9E:B0:6D:36:6D,bridge=vmbr0,tag=70
onboot: 1
ostype: win7
sockets: 1

Hi Udo - I already tried 'host' cpu .

If you or anyone else has other suggestions, even a month or more for now, let me know. I'll keep a copy of the dump we tried to restore , and test suggestion when I get a chance.
 

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!