HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mmdebstrap — Create a Debian chroot. Alternative to `debootstrap`. More information: <https://gitlab.mister-muffi

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandalternativedebianclidebootstrapmmdebstrapchroot
linux

Problem

How to use the mmdebstrap command: Create a Debian chroot. Alternative to debootstrap. More information: <https://gitlab.mister-muffin.de/josch/mmdebstrap/>.

Solution

mmdebstrap — Create a Debian chroot. Alternative to debootstrap. More information: <https://gitlab.mister-muffin.de/josch/mmdebstrap/>.

Create a Debian Stable directory chroot:
sudo mmdebstrap stable {{path/to/debian-root}}/


Create a Debian Bookworm tarball chroot using a mirror:
mmdebstrap bookworm {{path/to/debian-bookworm.tar}} {{http://mirror.example.org/debian}}


Create a Debian Sid tarball chroot with additional packages:
mmdebstrap sid {{path/to/debian-sid.tar}} --include={{pkg1,pkg2}}

Code Snippets

Create a Debian Stable directory chroot

sudo mmdebstrap stable {{path/to/debian-root}}/

Create a Debian Bookworm tarball chroot using a mirror

mmdebstrap bookworm {{path/to/debian-bookworm.tar}} {{http://mirror.example.org/debian}}

Create a Debian Sid tarball chroot with additional packages

mmdebstrap sid {{path/to/debian-sid.tar}} --include={{pkg1,pkg2}}

Context

tldr-pages: linux/mmdebstrap

Revisions (0)

No revisions yet.