I have converted an Ubuntu 20.04 ova image to qcow2 and from there to raw. The qcow2 image boots up nicely with qemu:
qemu-system-x86_64 -enable-kvm -m 32G -drive file=casper-tooflow-2021.qcow2,if=virtio -boot c
The .raw image is imported with incus-migrate but booting ends with an error message
BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1): Not Found
>>Start PXE over IPv4.
and finally drops to a shell
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
FS0: Alias(s):HD0a1b:;BLK1:
PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)/HD(1,MBR,0x8FF35EEC,0x800,0x100000)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)
BLK2: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)/HD(2,MBR,0x8FF35EEC,0x100FFE,0x1FEFF002)
BLK3: Alias(s):
PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/Scsi(0x0,0x1)/HD(2,MBR,0x8FF35EEC,0x100FFE,0x1FEFF002)/HD(1,MBR,0x00000000,0x101000,0x1FEFE800)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>
Launching vm’s from repository works fine. Here’s information about storage setup:
/mnt # incus storage list
+------+--------+--------+-------------+---------+---------+
| NAME | DRIVER | SOURCE | DESCRIPTION | USED BY | STATE |
+------+--------+--------+-------------+---------+---------+
| pool | zfs | rpool | | 7 | CREATED |
+------+--------+--------+-------------+---------+---------+
/mnt # incus storage show pool
config:
source: rpool
volatile.initial_source: rpool
zfs.pool_name: rpool
description: ""
name: pool
driver: zfs
used_by:
- /1.0/images/1cfbc6e7a4d547b1fd8580d247c45492034e2978128688dd411c558ab2e3ee1e
- /1.0/images/b2d6c85fbfc7555328d24c7e132d314f95e391ef133639b750b9e957c298f441
- /1.0/images/e11d95790cc9513e205ee0dc26f55959783e7e49a8e46e47c7e279f22aa420b6
- /1.0/instances/caspervm
- /1.0/instances/clear-chicken
- /1.0/instances/debian-base
- /1.0/instances/first
status: Created
locations:
- none
The host is running Alpine linux on an old 12 core 96 GB RAM HP Gen 7 (no UEFI) server.
Any suggestions?