Moving from Citrix XenServer to Proxmox

gbr

Well-Known Member
May 13, 2012
125
2
58
Hi,

I guess this can be a generic question as well...

I have several para-virtualized VM's under XenServer, and I'd like to move them to KVM. Xen doesn't boot the kernel in the image, in fact, I'm not sure the XenServer VM even has a bootloader. I've tried Clonezilla to move the VM's, and it fails to boot under KVM.

Does anyone have a howto on moving from XenServer to Proxmox?

Thanks,
Gerald
 
Hi,

I guess this can be a generic question as well...

I have several para-virtualized VM's under XenServer, and I'd like to move them to KVM. Xen doesn't boot the kernel in the image, in fact, I'm not sure the XenServer VM even has a bootloader. I've tried Clonezilla to move the VM's, and it fails to boot under KVM.

Does anyone have a howto on moving from XenServer to Proxmox?

Thanks,
Gerald

Hi, I have done it with this script xenmigrate.py
http://jolokianetworks.com/70Knowle...te.py/Xenmigrate.py_import_and_export_example

It's exporting xenserver disk to .raw file.

For linux vms, just install grub and a kernel before doing the migration.
 
The problem is two-ways:
1) XEN uses an image per partition while KVM expects an image per disk.
2) XEN boots the VM with an off-VM kernel or more correctly a special XEN tailored boot method.

To fix these problems you need to do the following:
1) Create a VM image the size of the combined partition images
2) Partition this VM image so that each partition matches a ditto XEN image
3) Before transformation remember to install the kernel, udev, grub and acpid in the running XEN VM
4) Shutdown the XEM VM
5) Make a bit-wise copy from XEN-partitions to the KVM image using dd
 
  • Like
Reactions: chrone

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!