如何在运行 Fedora 36 服务器的 Raspberry Pi 4 上的虚拟机中安装 Manjaro ARM?

如何在运行 Fedora 36 服务器的 Raspberry Pi 4 上的虚拟机中安装 Manjaro ARM?

我有一个 8GB 的​​树莓派 4,运行 Fedora 36 服务器。在它上面,我有一些虚拟机来宾在 kvm 下成功运行,特别是在 Linuxalpinedebian。但是,我似乎无法在虚拟机中安装 Manjaro:

我使用以下命令创建并启动 Manjaro VM。 Alpine 和 debian11 也同样适用,虚拟机运行后都会启动安装向导。但是,这不适用于 Manjaro - 创建了虚拟机并连接了控制台,但使用 Manjaro 时安装无法启动,而是出现以下错误:

Image type X64 can't be loaded on AARCH64 UEFI system.

我下载了 ARM 两个不同的映像,都导致相同的错误:Manjaro-ARM-minimal-generic-22.08.img.xzManjaro-ARM-minimal-rpi4-22.08.img

是否有不同的设置/配置可以使其正常工作,或者它永远不会像错误所示那样在 UEFI 环境中工作?

我使用以下命令来创建虚拟机:

  1. 创建qcow2磁盘:qemu-img create -f qcow2 /data1/kvm/mj1.qcow2 5G
  2. 创建虚拟机:virt-install -n mj1 --memory 1024 --arch aarch64 --vcpus 2 --disk /data1/kvm/mj1.qcow2,device=disk,bus=virtio --osinfo detect=on,name=manjaro --boot uefi --noreboot --network bridge=virbr0 --cdrom /data1/kvm/images/Manjaro-ARM-minimal-generic-22.08.img.xz
Starting install...
Creating domain...                                                                                                                              |    0 B  00:00:00     
Running text console command: virsh --connect qemu:///system console mj1
Connected to domain 'mj1'
Escape character is ^] (Ctrl + ])
Tpm2GetCapabilityPcrs - 00000004
alg - 4
alg - B
alg - C
alg - D
Image type X64 can't be loaded on AARCH64 UEFI system.




BdsDxe: failed to load Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: failed to load Boot0003 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x0): Not Found
BdsDxe: failed to load Boot0002 "UEFI Misc Device" from VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00): Not Found
BdsDxe: loading Boot0004 "EFI Internal Shell" from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0004 "EFI Internal Shell" from Fv(64074AFE-340A-4BE6-94BA-91B5B4D0F71E)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)


UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
     BLK2: Alias(s):
          VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00)
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x2)/Pci(0x0,0x0)/Scsi(0x0,0x0)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> 

相关内容