I imported a virtual machine (CentOS) from XenServer to KVM. This virtual machine originally had two disks (LVM). I added both disks to the imported machine in KVM. The disk containing the boot partition is correctly defined, but apparently the import had problems with the second disk.
What do I do to fix this?
Below the errors that occur during boot ...
Other information I...
Other information II...
Other information III...
The problem was that the device "xvdb1" (XenServer)...
... is now called "vdb1" (KVM).
The solution was change the entry in "/etc/fstab" to "vdb1"...
But to access the contents of the "/etc/fstab" file you must first mount the "/" of the VG (Volume Group) in question by doing as follows...
First boot using a Linux system rescue disk. In my case I used SystemRescueCd ( http://www.system-rescue-cd.org/ ) (systemrescuecd-6.0.3.iso).
With the system booted run the command below to find out the name of the VG...
... once VG is discovered, then LV (Logical Volume) will be in "/dev/RH/".
Once you discover the target LV - "/dev/RH/LV_ROOT" in my case - you will need to find out the LV filesystem...
NOTE: "/dev/RH/LV_ROOT" is a symbolic link to "/dev/dm-0".
Once discovered the filesystem ("ext4" in my case), then mount the LV...
... and edit the "fstab" file...
Done! =D
[Refs.: https://forums.centos.org/viewtopic.php?t=4455#p21571 , https://www.systutorials.com/241497/how-to-mount-lvm-volume-from-an-external-hard-disk-on-centos/ , https://unix.stackexchange.com/a/235166/61742 ]