[TUTORIAL] A small game changer for Windows migration to Proxmox

Falk R.

Distinguished Member
Aug 2, 2021
6,939
3,044
278
47
Alfhausen, Germany
roesing.it
After presenting my modified ISO in the German forum section some time ago, the optimized version is now available in English.

Since I came up with the method for migration with minimal downtime, I have more good news today.
It is possible to install the Virtio drivers in advance so that Windows can boot directly from VirtIO SCSI after migration. To make it a little easier for everyone, I modified a virtio ISO and stored an installation batch file there.
The install.bat must be run as an administrator, and I also modify the SAN policy so that additional disks in Windows come online after the migration.
Please skip this step if the VM is part of an MS failover cluster.

Link to download the modified iso: Download

Happy migrations!
Falk
 
I've now fixed an issue with detecting the Windows version, particularly for older versions.
The download has been updated.
 
  • Like
Reactions: Johannes S
It would be nice to integrate these improvements in the upstream distribution of VirtIO drivers.

Does your script also install guest agent automatically as well?
 
It would be nice to integrate these improvements in the upstream distribution of VirtIO drivers.
AFIK it's not that easy due to copyright concerns. There is a script (created with AI aid by Proxmox Partner croits @fba ) who doesn't need this iso:
https://github.com/croit/load-virtio-scsi-on-boot

Whether you trust AI generated code is up to you but it's easy to verify how it works and tweak it (if needed) to your needs so that's not much of a problem ;)
 
Last edited:
Since @Falk R. already posted this in the German forum thread: There is now a newer iso with version 0.1.302 of the driver:
https://roesing.it/virtio-win-0.1.302-mod.iso
Falks announcement in German:

English translation by deepl:

virtio 0.1.302 is available, and I haven't heard anything negative about it so far.
So this version is also available with my mod: https://roesing.it/virtio-win-0.1.302-mod.iso
In addition, this version includes a tool that exports the IP configuration and imports it again after the next boot for NICs with the same MAC address.
Please feel free to give it a try.
 
Hi @Falk R. - could you provide any information about the "NetTool" application and "NetConfigTool"? Is it an open source application or something built? I'm trying to get an understanding of the tools and process in order to describe it to customers and internal audit teams :) Thanks for putting in the work and sharing!
 
Hi this Tool has no License and I Build it for me and my Customers. But everyone can feel free to use it.
I have no open Repository to make it as official Open Source Software.
Iam not a programmer.

It build in .Net and if you need the Source Code, i can share this with you.
 
  • Like
Reactions: Johannes S