HPE Morpheus VM Essentials
1830465 Members
2569 Online
110005 Solutions
New Discussion

Migration of vSphere VM (Windows 2022) is no longer possible

 
kurotan
Frequent Advisor

Migration of vSphere VM (Windows 2022) is no longer possible

Migration of vSphere VM (Windows 2022) is no longer possible

After updating the VM Essentials version and the hypervisor host OS, migration of vSphere VM (Windows 2022) is no longer possible.

My verification environment is Ubuntu 24.04/Essentials 8.0.6.

I tried to migrate the VM using the following procedure, but was unable to migrate.

1. Boot the vSphere VM in Windows RE (Setup in Settings - Update & Security Recovery - Advanced)
2. Set "virtio-win-0.1.271.iso" to the vSphere VM
3. Run the Windows RE command prompt
4. Run diskpart-"list volume" to check the drive letters of the CD-ROM and Windows installation volume
5. Run "dism /image:D:\ /add-driver:F:\viostor\2k22\amd64\viostor.inf"
(D: Windows installation volume, F: CD-ROM)
6. Exit Windows RE
7. Run "virtio-win-gt-x64.msi /q" and "virtio-win-guest-tools.exe" in the command prompt /q"
8. Convert to managed VM from manager
9. Select the target VM from the instance screen and import as an image
10. Create an instance using the imported image
11. Can't start...

The above method was able to migrate Windows VMs in Ubuntu22.04/VM Essentials8.0.5.

By the way, for CentOS9, migration is possible by incorporating the drivers in the initramfs.
(This is the same now as it was before)
1. echo 'add_drivers+=" virtio_scsi virtio_blk virtio_net "' | tee -a /etc/dracut.conf.d/virtio.conf
guration file is prepped, rebuild the initramfs:
2. dracut -f

2 REPLIES 2
GrahamF
Senior Member

Re: Migration of vSphere VM (Windows 2022) is no longer possible

Hi  kurotan

So i had a similar issue (but mine was upgraded from 8.0.5 to 8.0.7).

It seems that the model type has changed, I went onto the system that the machine was being deployed, and vi the .xml file.

changed the model from pc-i440fx-8.2 (which doesn't support the secure boot) as my error was secure boot is only supported on q35.

changed from pc-i440fx-8.2 to pc-q35-8.2 like below.

# <type arch='x86_64' machine='pc-q35-8.2'>hvm</type>

I did get some other errors, PCIE and IDE, once I did those changes I just started the VM.

Hope this helps, and also hope the defualt gets changed back.

kurotan
Frequent Advisor

Re: Migration of vSphere VM (Windows 2022) is no longer possible

Thank you for your comment.

In my environment, it boots, but the disk is not visible.
The driver should be loaded, so I also think it's a problem with the PC model.

After changing to q35, I changed the controller settings from pci-root to pcie-root, and there were setting errors with IDE and USB, so I deleted them, but it still can't recognize the disk.

One way to go about it might be to revert to an older version and check what the settings were.