[SOLVED] Unraid .img file import

oldfart

Well-Known Member
May 14, 2019
40
2
48
70
Followed several posts on how to ..
copied unraid unifi.img file over to proxmox
renamed to unifi.raw
created a VM in proxmox
OS - do not use any media
system - default
disks - format - raw image format
rm /mnt/data/images/102/vm-102-disk-0.raw
qm importdisk 102 /mnt/data/images/unifi.raw Storage1 --format raw

start VM - stuck on "booting from hard disk"

where have I failed?
 
Try to inspect the img file before:

Code:
qemu-img info unifi.img

if it is actually a raw file. You also need to check if the guest OS uses UEFI or BIOS to boot so that you set this mode in PVE accordingly.
 
  • Like
Reactions: oldfart
Try to inspect the img file before:

Code:
qemu-img info unifi.img

if it is actually a raw file. You also need to check if the guest OS uses UEFI or BIOS to boot so that you set this mode in PVE accordingly.
Code:
root@pve:~# qemu-img info /mnt/data/images/unifi.img
image: /mnt/data/images/unifi.img
file format: raw
virtual size: 80 GiB (85899345920 bytes)
disk size: 80 GiB

no info about Bios
but looking at Unraid VM, the Bios is OVMF (which is UEFI)
so, will try again with UEFI bios settings.
thanks for the pointer!

edit .. now working!
 
Last edited: