Hi,
I have an ova that has two vmdk disks, one is used for OS and keeping other code/configuration and the second one is just for data. I am looking for a way to be able to run this ova's equivalent on Hyper-V. I extracted ova and tried two techniques:
Extracted ova to get vmdk disks
Expand-7Zip -ArchiveFileName "$SourceOVAPath" -TargetPath "$VMName"
1) Converted each vmdk to vhd separately using:
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "disk1.vmdk" -DestinationLiteralPath "disk1.vhd" -VhdFormat Vhd ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "disk2.vmdk" -DestinationLiteralPath "disk2.vhd" -VhdFormat Vhd
Created a vm on hyper-v using both of these vhds (attached disks to IDE controller) but as soon as it starts it shows below error:
dracut-initqueue[259]: Warning: dracut-initqueue timeout
received sigrtmin+20 from plymouthd
Warning: /dev/centos/root does not exist
Warning: /dev/centos/swap does not exist
Warning: /dev/mapper/centos-root does not existblk_update_request : I/O Error, dev fd0, sector 0
Generating "/run/iniramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs
2) Combined both vmdk disks into one using:
& $VDiskManager -r "DiskPrefix.vmdk" -t 0 "CombinedDisk.vmdk"
converted the CombinedDisk.vmdk to vhd, then created a vm in hyper-v with this vhd but still getting same error.
Any leads on how I can achieve this will be very helpful.