archlinux-minimal-YYYY.MM.DD-loong64.qcow2.zst: Boot into the command line environment

archlinux-xfce4-YYYY.MM.DD-loong64.qcow2.zst: Boot into the XFCE desktop environment

archlinux-mate-YYYY.MM.DD-loong64.qcow2.zst: Boot into the Mate desktop environment

Account

root password: loongarch

user name: loongarch

user password: loongarch

How to run

To run archlinux in a virtual machine, the version of qemu is required to be greater than or equal to 7.1

qemu version 7.1

Please refer to the following command to run:

qemu-system-loongarch64 \
    -m 4G \
    -cpu la464-loongarch-cpu \
    -machine virt \
    -smp 1 \
    -bios ./QEMU_EFI_7.1.fd \
    -serial stdio \
    -vga std \
    -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-xxx-yyyy-loong64.qcow2

Notice:

  1. qemu-7.1 does not support smp, so you need to set smp to "1".

  2. Please click here to download the "QEMU_EFI_7.1.fd" used in the above command.

qemu version 7.2 or later

Please refer to the following command to run:

qemu-system-loongarch64 \
    -m 4G \
    -cpu la464-loongarch-cpu \
    -machine virt \
    -smp 4 \
    -bios ./QEMU_EFI_x.y.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-xxx-yyyy-loong64.qcow2

Notice:

  1. The qemu 7.2+ version does not support "-vga" parameter, so you need to use the "-device virtio-gpu-pci" parameter to simulate the graphics card.

  2. "QEMU_EFI_x.y.fd": Please select QEMU_EFI_7.2.fd or QEMU_EFI_8.0.fd to download.