debootstrap
创建一个基本的
Debian系统。 更多信息:https://wiki.debian.org/Debootstrap。
- 在
debian-root目录中创建一个Debian稳定分支系统:
sudo debootstrap stable http://deb.debian.org/debian
- 使用本地镜像在
focal-root目录中创建一个Ubuntu 20.04系统:
sudo debootstrap focal
- 切换到可引导系统:
sudo chroot
- 列出可用的版本:
ls /usr/share/debootstrap/scripts/
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
