I am migrating a CentOS 7 system from VMware Server 2 to XenServer 6.5. The CentOS system was installed using the minimal installation. I used ovftool to convert the .vmdk file to a .img using the instructions here
and imported this into XenServer using XenCenter. Upon booting I get the following errors:
dracut-initqueue: Warning: dracut-initqueue timeout - starting timeout scripts dracut-initqueue: Warning: /dev/centos/root does not exist dracut-initqueue: Warning: /dev/centos/swap does not exist dracut-initqueue: Warning: /dev/mapper/centos-root does not exist
It goes on to start the emergency shell.
I think the problem is down to the device name of the disk. On the original system the disk is on /dev/sda. On the new system it is /dev/xvda. Using the installation disk I can boot into the rescue mode and it mounts /mnt/sysimage. I don't know how to fix the problem though. The only file I can find related to the device name is in /mnt/sysimage/boot/grub2/device.map. I tried changing this to
but it made no difference. I presume the logical disk manager configuration needs changing somewhere.
How can I fix this? I need simple(ish) instructions as I'm not a Linux expert, especially in relation to the boot process.