Issue with import vmware VM with LVM partition

ivannet

New Member
Sep 6, 2022
2
0
1
Hi all, i just have a nice issue with the import of a VM from vmware [ovf] into proxmox, i imported the VM with this:
qm importovf 200 <VM name>.ovf local-lvm
the new created VM boot up and load the first partition, the boot one is ext4, grub allows me to choose which kernel to boot the machine with, but this fails every time as it doesn't find root partition; in fatc the second and the last partition in a LVM volume[root and swap], I believe that the problem is in the failure to mount the lvm partitions, but /etc/fastab and the grub files looks good. any suggestion?
 
i think you need to import the disk.vmdk in raw format, something like this:
Bash:
qm importdisk <vmid> <disk>.vmdk <storage> --format raw
after that in the VM settings attach it like a ide or scsi device.
 
Haha I know this is old but I see the same issue I imported the vmdk disk I have multiple disks with the same LV name and 2 diffrent VG.