[SOLVED] migrating from vmware to kvm, lvm partitioned guest failed to boot
Linux - VirtualizationThis forum is for the discussion of all topics relating to Linux Virtualization. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
migrating from vmware to kvm, lvm partitioned guest failed to boot
I'm trying hard to convert some of my VMs from vmware ESX to KVM on ubuntu 10.04 server. the guests are fedora 10, they have a ext3 /boot partition and /root and swap file systems are on a lvm. I tried all these three:
1- trying to boot vmdk disk image directly (kvm now supports vmdk)
2- convert vmdk to raw then boot
3- convert vmdk to qcow2 and boot
in all these three scenarios, the grub loads (so /boot is found succesfully from the disk) but after the grub menu, there is an error message:
""could not detect stabilization....
volume group "volgroup00" not found
unable to access resume device /dev/volgroup00/logvol01""
I've tried all three scenarios by using ide and scsi, nothing changed. I have also installed an ubuntu vm, and add this disk image as a secondary disk to it, the ubuntu can see all /boot , /root and swap on the disk image. so the disk is alright but the fedora kernel, when booted on kvm cant see the lvm partition, on vmware it works with no problem.
can any one give me some hints or solutions?
Problem Solved! one nasty mistake of mine! that was trying to boot an i686 fedora installation by a x86_64 VM architecture!
Unfortunately I get the same problem having migrated from an x86_64 image on an x86_64 VMWare server, to an x86_64 KVM server. The only difference I can see, is that the VMWare server is AMD running Centos 5.5, and the KVM server is Intel running Fedora 14.
I've started a new thread here as I shouldn't really have posted to a solved thread.
Last edited by kheldar; 03-21-2011 at 07:42 AM.
Reason: Started new thread as shouldn't have posted to this thread in the first place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.