请教各位大佬,我在ubuntu 18.04虚拟机构建starfive2 riscv64 debian镜像时,使用sudo chroot /mnt/starfive2 /bin/bash指令,提示failed to run command ‘/bin/bash’: Exec format error。还请指点一二。
另外我使用systemd-nspawn容器启动也不行。sudo systemd-nspawn -D /mnt/starfive2/ -M kernel --bind-ro=/etc/resolv.conf
提示如下:
/mnt/starfive2/dev is pre-mounted and pre-populated. If a pre-mounted /dev is provided it needs to be an unpopulated file system.
mknod(/mnt/starfive2/dev/null) failed: File exists