I'm trying to install an aarch64 guest VM on F32 x86-64 host.
I created a suitably large disk image, then proceeded to:
arm-image-installer \
--image=/home/mrsam/Downloads/Fedora-Workstation-32-1.6.aarch64.raw.xz \
--target=rpi3 \
--media=/var/lib/libvirt/images/Fedora-Workstation-32-1.6.aarch64.raw \
--selinux=ON --norootpass
This churned for a while, and finished with this:
= Proceed? yes
= Writing:
= /home/mrsam/Downloads/Fedora-Workstation-32-1.6.aarch64.raw.xz
= To: Fedora-Workstation-32-1.6.aarch64.raw ….
11661295616 bytes (12 GB, 11 GiB) copied, 210 s, 55.5 MB/s
0+1339534 records in
0+1339534 records out
11811160064 bytes (12 GB, 11 GiB) copied, 210.762 s, 56.0 MB/s
= Writing image complete!
Error: mount Fedora-Workstation-32-1.6.aarch64.raw2 /tmp/boot failed
I surmize that arm-image-installer expected a real /dev to write to,
instead of what is effectively a plain fie, so it failed to mount the disk
image. I suppose that what it needs to do is a loopback mount, instead. Is
there a way to do this?
I tried to create a VM with the raw image, as is. It booted for a while, but
left me at a login prompt, demanding the root password, and I could not
proceed any further.