大网数据广告活动
服务器运维问答

Can`t boot converted VM from KVM on VMware ESXI

· 52CE 我爱测

VM - 3.14.14-gentoo with LVM Hypervisor - KVM qemu 3.15.7-gentoo I converted a VM using the command qemu-img convert -O vmdk , after that i uploaded the disk to the VMware datastore and created VM with IDE disk. When i boot (init…

问题原文

原帖链接 · shallrise · CC BY-SA 3.0

VM - 3.14.14-gentoo with LVM

Hypervisor - KVM qemu 3.15.7-gentoo

I converted a VM using the command qemu-img convert -O vmdk, after that i uploaded the disk to the VMware datastore and created VM with IDE disk.

When i boot (initramfs) i get an error:

init[1]: segfault at a8 ip 00007f1dde6110ae sp 00007fffe3ddd718 error 4 in libc-2.19.so[7f1dde5e2000+1a2000]

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

If i boot the system using a gentoo livecd, i can do modprobe dm-mod and vgchange -ay, after that i can mount my system. So i think LVM is ok.

I do not understand what I need to fix. When i converted VMs without LVM everything was fine.

已采纳解答

原帖链接 · shallrise · CC BY-SA 3.0

The problem was ddb.adapterType parametr in vmdk file. First of all we need to convert uploaded disk

vmkfstools -i /vmfs/volumes/datastore/DiskImage.vmdk -d thin /vmfs/volumes/datastore/DiskImage1.vmdk

After that, open the file with the VI editor and change ddb.adapterType from "ide" to "lsilogic".

After that, the VM will start without error.

source: https://nowhere.dk/articles/moving-virtual-machines-from-kvm-to-esxi-6-0

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。