使用的源在此处
qemu-user-static 相关,注意要安装 qemu-user-static-binfmt 而不是 qemu-user-binfmt ,其他就不说了
现在直接 pacstrap 吧
本文假设 chroot 环境安装到 /srv/chroot/loong64
pacman.conf
$ sudo mkdir -p /srv/chroot/loong64
$ cd /srv/chroot/loong64
$ sudo cp /etc/pacman.conf .
$ vim ./pacman.conf
Architecture = loong64
SigLevel = Never
[core]
Server = https://mirrors.wsyu.edu.cn/loongarch/archlinux/$repo/os/$arch
[extra]
Server = https://mirrors.wsyu.edu.cn/loongarch/archlinux/$repo/os/$arch
[community]
Server = https://mirrors.wsyu.edu.cn/loongarch/archlinux/$repo/os/$archpacstrap
$ sudo pacstrap -C ./pacman.conf -G -M . base然后
用你喜欢的方法 chroot 吧(笑)。
by SDUST weilinfox



































































































































