Move Linux LCX to ESXi (Vcenter)

hi,

yes it's possible.

afaik there's no automatic process but it goes something like this:
1. create VM and boot it
2. setup the partitions and filesystems
3. rsync your files from the container to the VM disk
4. chroot into disk
5.install kernel
6. install boot loader
7. add fstab
8. reboot VM
 
you can partition the disk however you like in your VM, since LXC doesn't do any partitioning
 
Why do you want to migrate LXC to VMware in the first place? Why the step back in virtualization capabilities? It's like going back to smoke signals after using a smartphone.

Another approach would be to just install PVE in VMware and backup&restore the containers in the newly created PVE. With this approach, you get the best of both worlds and can use your "smartphone" technology with smoke signal software like VMware.

Do you know if there are any tutorial with more info?

@oguz explanation is already very detailed. If you need more help, just ask how to do the steps in the community of your guest OS, because the actual commands rely heavily on the guest OS.
 
  • Like
Reactions: Panos83