Esxi to XCP-NG -booting to dracut emerg. mode

Hi,

I have an old ESXi server running a couple of CentOS 7 images that run our telephone system. I’ve been trying (unsuccessfully) to move them over to XCP-NG.

I’ve tried both the direct import from within XO as well as exporting to OVF in Esxi and converting to OVA using VMware’s ovftool. Getting the same results. It boots to dracut emergency mode.

Error points at missing /dev/mapper/dir.

Some guides had suggested to try and rebuild the kernel with -
dracut -f {kernel-image}
… then doing a
grub2-mkconfig

But still not booting. Anyone suggest a good guide to tackle this?

Thanks

Try using Clonezilla or some other Linux friendly cloning tool

Hi Tom,

Yeah I’ve used this method in the past. Wasn’t sure whether I’d get any better results. I’ll give it a go and see if it converts the Linux image better so it works on XCP.

Many thanks,

1 Like

The clonezilla method worked great for us moving from hyper-v to xcp-ng. With a mix of windows and linux VMs.