[CentOS-virt] Migrating from KVM to XEN - kernel panic

Christopher G. Stach II cgs at ldsys.net
Mon Nov 9 19:32:52 UTC 2009

----- "Christopher Hunt" <dharmachris at gmail.com> wrote:

> Found volume group "vg00" using metadata type lvm2 ## this is the VG
> on the KVM host

> Volume group "virt01vg00" not found ## this is the VG on the XEN host

mkinitrd is getting this from your dom0's /etc/fstab.

sed 's/virt01vg00/vg00/g' /etc/fstab > /tmp/fstab-domU
mkinitrd -f --fstab=/tmp/fstab-domU --with=xenblk --with=xennet --preload=xenblk --preload=xennet /boot/initrd-2.6.18-164.6.1.el5xen-domU.img 2.6.18-164.6.1.el5xen

Better luck this time. :)

Christopher G. Stach II

More information about the CentOS-virt mailing list