I'll have to migrate several computers from Hyper-V to VmWare. I would like to use qemu-img because is command line and I could create an script. Conversion works fine for Windows but is not working for Linux Red hat 7
Target vmware is an ESX
Note: Virtual machines are configured to use UEFI
I've tried several options..
1) With 'compat6' option
qemu-img convert -f vhdx RHEL7.6.VHDX -O vmdk -o adapter_type=lsilogic,compat6 rhel7.6.vmdk
2) with only 'lsilogic'
qemu-img convert -f vhdx RHEL7.6.VHDX -O vmdk -o adapter_type=lsilogic rhel7.6.vmdk
3) and without any option
qemu-img convert -f vhdx RHEL7.6.VHDX -O vmdk rhel7.6.vmdk
Once file is converted I use the vmkfstools to create a new file like to have vmdk header.
vmkfstools -i rhel7.6.vmdk -d thin final-rhel7.6.vmdk
Then I mount disk as SCSCI (when I transformed with 1 or 2 (above) commands), but It fails with a dracut timeout message.
The only transformation that is working is when I use the 3rd command, but Disk is configured as IDE.
Although IDE works I can't configure in this way, because is mandatory for us that Disks should be SCSI
Any idea, about how to convert an Hyper-v RHEL7 using qemu ?
Regards