kendryte / k230_docs

Kendryte K230 SDK Docs
BSD 2-Clause "Simplified" License
93 stars 12 forks source link

[other]: lack of /bin/bash #34

Open Kingxukai opened 4 months ago

Kingxukai commented 4 months ago

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

wangjianxin-canaan commented 1 week ago

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