Migrated Windows Server 2012R2 VM from Hyper-V to Proxmox does not boot

you need to re-use the small empty efi disk , it's needed by proxmox to store uefi bios settings like boot order and resolution.
it contains pre-enrolled keys else Windows Update cannot apply updates (since few months).
And where is this disk? I can see when I follow this wiki:

https://pve.proxmox.com/wiki/OVMF/UEFI_Boot_Entries

That I can add another boot option with a efi file but this is not saved after a reset.
 
i see two unused vDisks on your screenshot, i don't know if you can edit to set as efi disk else add New efi disk from top button of Hardware of the VM
 
i see two unused vDisks on your screenshot, i don't know if you can edit to set as efi disk else add New efi disk from top button of Hardware of the VM
One of the unused disks is the one empty created with the creation of the VM and the other one with ~300GB is the partition D of the Hyper-V Windows 10
 
One of the unused disks is the one empty created with the creation of the VM and the other one with ~300GB is the partition D of the Hyper-V Windows 10
So I tried it now again with different approches like this:
1669656549397.png
then I see this disk:
1669656580263.png
Then there is the following structure <EFI> --> Microsoft and Boot --> tried all *.efi (Windows: bootmgfw.efi and bootmgr.efi Boot: bootx64.efi). Set the desctiption then commit changes and exit. Then as written in the wiki Changed the order and again commit changes and Exit and the standard procedure begins again. Nothing is saved from my changes and it tries all PXE boots and halts in the efi internall shell:

1669656922713.png

I am really end of my knowledge whats causing the issue.
 
repost your current vm config
irrc, you don't need to add boot option if you can boot manually from boot menu.
 
Last edited:
EFI disk needed to save bios settings in OVMF (UEFI) mode
That disk is not the bootable disk ...

2022-11-28 20_24_03-Greenshot.png
 
EFI disk needed to save bios settings in OVMF (UEFI) mode
That disk is not the bootable disk ...

View attachment 43851
So you suggest me to add a efi disk and then my settings are saved which are done in the UEFI from that VM?
Added this disk and again same issue with first pxe boot and then stuck at efi shell
1669665363875.png
 
Last edited:
sorry, "Options" of the VM Proxmox, to check boot order as written in post #18
 
sorry, "Options" of the VM Proxmox, to check boot order as written in post #18
Omg this was it. There was only the net set and then boot drive as second device and not selected. Now the system boots without any problems:
1669716617409.png
But how I can add now the Partition D into that VM? I have tried it as ide/sata/scsi and it always shows me the disk as raw and I should format it:

1669716726786.png
 
post output of lvs command from shell.
it will display current usage space of vdisk vm-102-disk-2
 
post output of lvs command from shell.
it will display current usage space of vdisk vm-102-disk-2

root@NUC12PROX:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <794.79g 20.00 0.78
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-a-tz-- 250.00g data 31.22
vm-101-disk-0 pve Vwi-a-tz-- 120.00g data 37.78
vm-101-disk-1 pve Vwi-a-tz-- 4.00m data 14.06
vm-101-disk-2 pve Vwi-a-tz-- 4.00m data 1.56
vm-102-disk-0 pve Vwi-a-tz-- 300.00g data 0.00 <-- this is the imported D-Drive from Windows 10 Hyper-V
vm-102-disk-1 pve Vwi-a-tz-- 127.00g data 28.01
 
seems import failed ?
and please use code tag
I didn't received any failure when I used this command:

Code:
qm importdisk 102 Graphisoft.vhdx local-lvm

Reattached the original external SSD and issued following:

Code:
root@NUC12PROX:/mnt/pve/SandiskExtreme/BIMServer# qemu-img check -r all Graphisoft.vhdx
No errors were found on the image.
 
Last edited:

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!