[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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!