converting vmware to kvm

rmacian

New Member
Apr 30, 2009
7
0
1
I am trying to migrate a vmware vm (debian 4.0) to proxmox but I'm having a problem. After converting the vmdk file to qcow2 with qemu-image convert the vm does not boot. It freezes in "booting to kernel". I tryed to attach the disk as IDE, SCSI and VIRTIO without success.

I'm trying to open the image mounting it as you mentioned in another post with the

Code:
qemu-nbd --connect=/dev/nbd0 disk.img

to take a look and modify the /etc/fstab

if I do a fdisk -l on the /dev/nbd0 device I can see the 3 partitions that the image have but I cannot mount anyone because the partitions are not visible as /dev/nbdpX

I believe this corresponds to a bug in launchpad:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/342563

Meanwhile, can I do anything to make the new vm boot?
 
check the bootloader (grub, menu.lst)
 
That's exactly what I want. I can check it on the online vmware server but if I need to do a modification in the kvm image I cannot do it as exposed before
 
I just installed a standard etch (debian-40r7-i386) on vmware workstation 6.5, copied the vmdk file to Proxmox VE 1.2 and started without any problems (using scsi). I tried without conversion (means I used the vmdk disk file) and also with conversion to qcow2. no problems.

so whats different on your side? (custom disk layout settings in your *.vmx file?)
 
Last edited: