Has anyone successfully migrated a VMWARE VM (VMDK) to Harvester?
I tried to convert the VMDK to QCOW2 using QEMU, but in the harvester it doesn’t start, it’s just in the SHELL INTERATIVE.

Any idea?

Does it work on the command line?

qemu-img convert -f vmdk -O qcow2 image.vmdk image.qcow2

Reference: Converting between image formats — Virtual Machine Image Guide documentation

Yes. The conversion went perfectly, I even mounted the image by qemu itself and it worked.
The problem is inside the combine.
I upload the image and create the VM using the image, but when it starts it doesn’t boot.

I have not seen this, but admittedly I have not converted from vmware in a long time. I would file a formal [BUG] here.

Please try convert from inside the system to qcow2 instead of converting vmdk to harvester, already test this and it’s working.

Boot system using live linux distro ( i use kubuntu)

provide local ip address (networking)

# apt install qemu-utils screen

Create image from existing disk.
Check the correct disk / image source ( in my case it’s /dev/sda )
# fdisk -l
Disk /dev/sda: 50 GiB, 53687091200 bytes, 104857600 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x23e4b144

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 87889919 87887872 41.9G 83 Linux
/dev/sda2 87891966 104855551 16963586 8.1G 5 Extended
/dev/sda5 87891968 104855551 16963584 8.1G 82 Linux swap / Solaris

Disk /dev/loop0: 3.06 GiB, 3289141248 bytes, 6424104 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Mount SMB server for temporary image transit
# mkdir /mnt/transit
# mount.cifs -w //$your_smb_server/shares/ /mnt/transit -o user=$USERNAME,pass=$PASSWORD,file_mode=0777,dir_mode=0777,nobrl
# screen
# qemu-img convert -p -O qcow2 /dev/sda /mnt/transit/$image_name.qcow2

After the conversion finished, we can upload $image_name.qcow2 to Harvester image, if the size is larger than 5GB use URL (provide web server) instead of File.

Hope this help