k230_docs icon indicating copy to clipboard operation
k230_docs copied to clipboard

[other]: lack of /bin/bash

Open Kingxukai opened this issue 1 year ago • 1 comments

Other

Hi there, I'm encountering a problem: chroot: failed to run command ‘/bin/bash’: No such file or directory after retrieving debian sudo debootstrap --arch=riscv64 unstable debian13 https://mirrors.aliyun.com/debian/

and I've checked that the file debian13/bin/bash is not exsistls debian13/bin/

apt apt-cache apt-cdrom apt-config apt-get apt-key apt-mark

Kingxukai avatar Jul 29 '24 11:07 Kingxukai

please refer https://developer.canaan-creative.com/k230/zh/dev/03_other/K230_debian_ubuntu%E8%AF%B4%E6%98%8E.html

You need to install the following tools

sudo apt install qemu-user-static binfmt-support debootstrap debian-ports-archive-keyring systemd-container rsync wget

wangjianxin-canaan avatar Nov 27 '24 02:11 wangjianxin-canaan