Convering a win2022 server to proxmox - inaccessible boot device

Juel

New Member
Nov 23, 2024
6
0
1
Hi Guys, I really hope you can help me.
I have a Windows 2022 server that I would like to convert to Proxmox.

The process:
I have installed the virtio-win-gt-x64.msi to get the driver in the Windows system

I then use Disk2vhd and I get 2 files out of this, a small one, and a big one from the C:

I copy those to a disk on the Proxmox server, and I convert to qcow using:
qemu-img convert -O qcow2 WIN-2.VHDX WindowsServer2022.qcow2

after converting, I import it to a WM to a ZFS newly made via:
qm importdisk 101 WindowsServer2022.qcow2 WindowsServerRaid

Then I attach the drive via GUI as SATA, and boots, but I get the "inaccessible boot device" error. :/
Then I tried to attach the drive as IDE or SCSI but still the same.

I then booted into recovery mode and attached the drivers via the drvload command, from the virtio-win-0.1.266.iso imported the:
D:\amd64\2k22\vioscsi.inf
D:\amd64\2k22\viosort.inf
D:\viostor\2k22\amd64\viostor.inf

But I still get the "inaccessible boot device" error.

So now I'm at a loss, what should I try next?
The original server runs on an Intel raid disk if that has any influence.

I have spend hours and hours exporting, copying, converting and importing :D
 
switch / attach vDisk as SCSI with controller set to Virtio SCSI Single.
"inject" / install virtio scsi drivers with dism command.
Don't forget to use version v266 which fix hang when high iops.
Like https://gist.github.com/TomCan/9644966
Reboot once to Safemode can help if first reboot doesn't work.

Btw, when disks are attached as ide or sata, booting in safemode once is enough, as Windows disable drivers of not used controller.
 
  • Like
Reactions: Juel
Dism have no way of injecting drivers on a running installation? And I don't have a WIM?
 
Yes, but there is no c: when I boot into recovery mode, so I cant link to it.
I have tried setting the disk as IDE, SATA, SCSI but the recovery wont see it.

even after drvload, I cant see C: so dism cannot be used :/

.Udklip.JPG
 
check disk manager from the bare metal host.
Windows server software raid used ?
 

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!