alpinelinux / alpine-make-vm-image

Make customized Alpine Linux disk image for virtual machines
MIT License
298 stars 98 forks source link

Failed to load Boot0001 "UEFI Misc Device": Not Found #40

Open dylrich opened 1 year ago

dylrich commented 1 year ago

Hi! I am trying to build an aarch64 image using the new instructions provided (I've been building x86 images with this script for awhile! Thanks!) and unfortunately I can't get anything to boot. Here is how I am calling alpine-make-vm-image:

sudo ./alpine-make-vm-image \
--arch=aarch64 \
--image-format=qcow2 \
--rootfs=ext4 \
--packages="$(cat packages) linux-virt@edge" \
--repositories-file=repositories \
--script-chroot \
alpine-aarch64.qcow2 -- \
./script.sh

I am running this build on a Fedora 38 x86 system. I get the following error while trying to boot the output image:

failed to load Boot0001 "UEFI Misc Device" from PCIRoot ... : Not Found

I'm not entirely sure what is going on, and in the boot menu there doesn't seem to be any other devices available. An x86 image (which boots via BIOS, not UEFI) works just fine. I'm using commit 2478069 of the script to run these builds.

Thanks for any help you can provide!

jirutka commented 1 year ago

I get the following error while trying to boot the output image:

How/where do you run the image?

dylrich commented 1 year ago

I actually experienced this error in two places -- on my local Fedora system via GNOME boxes as well as on Hetzner shared arm64 machines