将VMWare映像迁移到KVM [英] Migrate VMWare image to KVM
问题描述
我尝试将VMWare映像从Windows 2012 R2迁移到KVM。我可以到达以下位置:
I am trying to migrate VMWare image with Windows 2012 R2 to KVM. I was able to get to point where I:
- 将vmdk的所有部分合并到一个文件中
- remove VMWare tools for image
-
将vmdk转换为qcow2
- merged all parts of vmdk into one file
- removed VMWare tools fro image
converted vmdk to qcow2
qemu-img convert - o compat = 0.10 -O qcow2 Windows2012-cl1.vmdk Windows2012-cl1.img
正在启动,但比它抛出一个错误你的电脑遇到问题,需要重新启动。我试图修复系统,但它说,系统驱动器是只读的。在哪里可能是问题?我也试图从Win2012R2 iso映像启动修复系统,但它说,它找不到系统驱动器。
System was booting up but than it thrown an error "Your PC ran into a problem and needs to restart." I tried to repair the system but it said that system drive is read-only. Where could be the problem? I also tried to boot from Win2012R2 iso image to repair the system but it said that it cannot find system drive. Thank you for answers.
主机系统:CentOS 6.5
Host system: CentOS 6.5
推荐答案
似乎这是CentOS qemu旧版本的问题。看来CentOS 7还有很老的qemu,但我没有尝试。相反我试过Ubuntu 14.04,它似乎是工作。所以任何人试图做我喜欢我的东西我建议检查版本的qemu。
It seems that this was problem of CentOS qemu old version. It seems that CentOS 7 has still quite old qemu but I did not give it a try. Instead I tried Ubuntu 14.04 and it seems it is working. So anyone trying to do something like me I recommend checking version of qemu.
这篇关于将VMWare映像迁移到KVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!