已经成功启动archlinux-mate-2022.12.03-loong64.qcow2。使用的是命令是
qemu-system-loongarch64.exe -m 4G -cpu la464-loongarch-cpu -machine virt -smp 4 -bios ./QEMU_EFI_7.2.fd -serial stdio -device virtio-gpu-pci -net nic -net user -device nec-usb-xhci,id=xhci,addr=0x1b -device usb-tablet,id=tablet,bus=xhci.0,port=1 -device usb-kbd,id=keyboard,bus=xhci.0,port=2 -hda archlinux-mate-2022.12.03-loong64.qcow2
挂载iso
qemu-system-loongarch64.exe -m 4G -cpu la464-loongarch-cpu -machine virt -smp 4 -bios ./QEMU_EFI_7.2.fd -serial stdio -device virtio-gpu-pci -net nic -net user -device nec-usb-xhci,id=xhci,addr=0x1b -device usb-tablet,id=tablet,bus=xhci.0,port=1 -device usb-kbd,id=keyboard,bus=xhci.0,port=2 -hda archlinux-mate-2022.12.03-loong64.qcow2 -cdrom uniontechos-desktop-20-professional-1050-update3-loongarch64.iso
能在arclinux中看到对应镜像
但是通过以下命令启动后,只能看到UEFI的shell。这个咋办啊。。。。
qemu-img create -f qcow2 uos20.qcow2 64G
qemu-system-loongarch64.exe -m 4G -cpu la464-loongarch-cpu -machine virt -smp 4 -bios ./QEMU_EFI_7.2.fd -serial stdio -device virtio-gpu-pci -net nic -net user -device nec-usb-xhci,id=xhci,addr=0x1b -device usb-tablet,id=tablet,bus=xhci.0,port=1 -device usb-kbd,id=keyboard,bus=xhci.0,port=2 -hda uos20.qcow2 -cdrom uniontechos-desktop-20-professional-1050-update3-loongarch64.iso