debootstrap

Create a basic Debian system. More information: https://wiki.debian.org/Debootstrap.

sudo debootstrap stable path/to/debian-root/ http://deb.debian.org/debian

sudo debootstrap --variant=minbase stable path/to/debian-root/

sudo debootstrap focal path/to/focal-root/ file:///path/to/mirror/

sudo chroot path/to/root

ls /usr/share/debootstrap/scripts/