Passthrough of physical disk works, but VHDX of said disk doesnt boot

m.brederode

New Member
Dec 27, 2024
16
0
1
I'm in the process of Migrating from Hyper-V to proxmox . Hyper-V vm's are all up and running, but I also want the windows server which ran Hyper-V to run in Proxmox (It's also my webserver and appserver).
If I boot up passing through the physical NVME drive as PCI all is well, but If I use the VHDX I created of that drive, the VM doesn't bootup. It eventually loads a windows recovery module that doesn't load up the C drive unless I load the virtio drivers (which are already installed in windows server).

I've tried creating a vhdx of just the C: partition and the whole drive including the recovery and EFI partitions, but to no avail.

I use the qm importdisk command to attach the drive to the vm and have tried SATA, SCSI and IDE.

I'm running out of ideas and was hoping someone here knows what I'm doing wrong. :)
 
Last edited:
Will try that as well.
Last thing I tried was to make a windows backup of the physical server. Install a vm with the same windows 2022 and the recovered the backup.

Sadly no boot
 
boot once in Safemode, required for Windows to re enable its standard sata and ide controller drivers.
Passthrough as PCI use the NVMe controller driver where sata or ide not. For scsi, install virtio scsi third party driver is required.
 
Last edited:
Hi Gabriel, Windows doesn't boot at all atm. (only by using the passthrough method, but I want to use a virtual disk)
How can I get it to boot in safe mode? I've already installed the Virtio drivers btw
 
Last edited:
  • Like
Reactions: m.brederode
No worries. Well I can still boot from the working system as long as I pass the nvme drive through to the vm or just boot into windows on the machine itself.
It's just I dont quite understand what I'm supposed to do.

Maybe type it out in French too?
 
I've followed the steps above and am now able to boot in safemode. I've verified that all the drivers are installed, but windows still wont boot the 'normal' way...

Any ideas left...? :)
 
Last edited:
Sadly both options didn't work.
Last thing I have tried is to import the vhdx into hyper v. In hyper v the system bootsup just fine. I've restarted it a couple of times and it doesn't give me any problems.
I then imported the VHDX into Proxmox once again.

Attached the drive as a SATA disk and booted into safe mode just fine.
1735916830267.png

I then restarted windows but sadly it wont boot. It's stuck on this screen:

1735916890221.png
 
This happens if I let the vm try to boot once, it then eventually starts recovery mode. (Gui version) And then it wil try to boot normally if I select that option.
 
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!