[SOLVED] CentOS 7 Migration: From XenServer to Proxmox VE

tgkmilo

Member
Mar 1, 2021
5
1
8
28
Valencia
Hello everyone!

I'm trying to migrate a VM from XeServer(6.5) to Proxmox(6.3-4)

Until few days ago, I can do it following next steps:

1. Export VMs from XenServer like OVF ( .ovf + .vhd file)

2. Convert VM disk (.vhd file) to qcow2 format (with StarWind 2V2 Converter)

3. Create a VM with same parameters on pve environment (RAM, CPUs....) and this specific requirements: SeaBIOS(BIOS), VirtIO SCSI (SCSI Controller). HDD is not important, it will be deleted.

4. Import our qcow2 file to new VM using -->
Code:
qm importdisk <vm id> <filename>.qcow2 <storage-dest> -format qcow2

5. After this, we detach the disk created on initial configuration.

6. Add the imported disk configuring it with VirtIO Block (Bus/Device).

7. Runs VMs on Proxmox.

8. Use rescue mode.

9. Regenerate grub --->
Code:
dracut --regenerate-all -f && grub2-mkconfig /boot/grub2/grub.cfg

10. Reboot.

I have migrated lot of virtual machines from XenServer following above steps, but I have to do another one last week and DOES NOT WORK!

When I try to run the virtual machine, pve does not detect any bootable device. BUUUUTT, when I add a CentOS 7 CD, it detects imported HDD. If we run the CD in Troubleshooting option I can do STEP 9 successfully. But when I reboot the system, the same problem appears, the HDD is not detected!

Could you help me?
 
[SOLVED]

I have found the problem, and SOLUTION...

When I have migrated old VMs the most recently pve version was 6.0-12

In this version all boot options for the guest are enabled by default, you only have to choose the order.

Captura.PNG

On the other hand, on the most recently version (6.3-4) when we delete the initial disk the boot order changes.

Captura2.PNG

Boot from disk are disbled! You have to enable it and reorder MANUALLY!

Captura3.PNG

I hope that someone can earn some profit from this post in the future,

Thank you so much.
 
  • Like
Reactions: gdanielv

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!