Centos8: VM broken after moving from VMware ESXi to HyperV [closed]

Solution 1:

It was not the UUIDs problem.

You have to rebuild the initramfs for your current kernel to suit new VM platform..

In my case command was:

dracut -f /boot/initramfs-4.18.0-193.28.1.el8_2.x86_64.img 4.18.0-193.28.1.el8_2.x86_64

more:

http://www.cjcheema.com/2019/06/how-to-recover-or-rebuild-initramfs-in-centos-7-linux/