安装工具
sudo apt-get install binfmt-support qemu qemu-user-static debootstrap
# 下载镜像
mkdir debian
sudo debootstrap --foreign --arch arm64 stretch debian http://ftp.cn.debian.org/debian/
cd debian
sudo cp /usr/bin/qemu-aarch64-static usr/bin/
cd ..
sudo DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C chroot debian debootstrap/debootstrap --second-stage
网友评论