R
R
Rick2018-11-27 18:13:53
linux
Rick, 2018-11-27 18:13:53

Guest migration (Linux) from Hyper-v Gen2 to Proxmox VE 5, how?

Good day.
How is it possible to migrate from Hyper-V Gen2 guest Linux (Ubuntu) to Proxmox VE (version 5) ?
According to the "manuals" on the Internet, it seems not difficult.
1. Create a VM with the same configuration as in Hyper-V
2. Transfer the disk to the server with Proxmox.
3. Import the disk in one of these ways:
qemu-img convert -O qcow2 Open.vhdx /vm/images/100/vm-100-disk-0.qcow2
qm importdisk 100 /home/user/Open.vhdx vm_local --format qcow2

4. Start the VM.
After that, the VM does not start:
Image on the screen:
booting hard disk ...
5bfd5f0c1d787196873531.jpeg
I tried to change the controller, set LSI and SCSI by default. Different type of interface on the disk IDE, SCSI, Virtio - all without success.
Converted by the disk2vhd utility to vhd from the original vhdx format - without result. Also converted to vhd directly from powershell.
Generation on hyper-v is the second, so by default there is EFI. If you select EFI in Proxmox, it also does not work.
Here are the hara-ki from HV
5bfd5c894b365227698030.jpeg
Suspicion of GPT partitions of the disk, who came across, I ask for advice / help. How can I import a virtual machine?
Here are the links that I used:
1 , 2
Well, the proxy forum.
Thanks to everyone who will respond.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
C
CityCat4, 2018-11-27
@CityCat4

Try the converter from Starwind

T
TyzhSysAdmin, 2018-11-27
@POS_troi

In the bootloader and fstab settings, specify the correct UUIDs of the partitions or the devices themselves.

P
Pavel, 2018-11-27
@electronik777

make an image from the guest via dd to a network share, and then deploy to proxmox from under any livecd and update the bootloader.

P
Puma Thailand, 2018-11-28
@opium

Don't worry, just migrate rsincom skipping system things, the easiest and most effective method

R
Rick, 2018-11-28
@rick1211

It was solved by changing efi to bios and installing / updating the bootloader.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question