table of contents
- trixie 28-1
- trixie-backports 31-1~bpo13+1
- testing 31-1
- unstable 31-1
| ARCH-CHROOT(8) | ARCH-CHROOT(8) |
NAME¶
arch-chroot - enhanced chroot command
SYNOPSIS¶
arch-chroot [options] chroot-dir [command] [arguments...]
DESCRIPTION¶
arch-chroot wraps the chroot(1) command while ensuring that important functionality is available, e.g. mounting /dev/, /proc and other API filesystems, or exposing resolv.conf(5) to the chroot.
If command is unspecified, arch-chroot will launch /bin/bash.
Note
The target chroot-dir should be a mountpoint. This ensures that tools such as pacman(8) or findmnt(8) have an accurate hierarchy of the mounted filesystems within the chroot. If your chroot target is not a mountpoint, you can bind mount the directory on itself to make it a mountpoint, i.e.:
mount --bind /your/chroot /your/chroot
OPTIONS¶
-S
-N
-u <user>[:group]
-r
-h
SEE ALSO¶
| 03/09/2026 |