1ARCH-CHROOT(8)                                                  ARCH-CHROOT(8)
2
3
4

NAME

6       arch-chroot - enhanced chroot command
7

SYNOPSIS

9       arch-chroot [options] chroot-dir [command]
10

DESCRIPTION

12       arch-chroot wraps the chroot(1) command while ensuring that important
13       functionality is available, e.g. mounting /dev/, /proc and other API
14       filesystems, or exposing resolv.conf(5) to the chroot.
15
16       If command is unspecified, arch-chroot will launch /bin/bash.
17
18           Note
19           The target chroot-dir should be a mountpoint. This ensures that
20           tools such as pacman(8) or findmnt(8) have an accurate hierarchy of
21           the mounted filesystems within the chroot. If your chroot target is
22           not a mountpoint, you can bind mount the directory on itself to
23           make it a mountpoint, i.e.:
24
25           mount --bind /your/chroot /your/chroot
26

OPTIONS

28       -u <user>[:group]
29           Specify non-root user and optional group to use.
30
31       -h
32           Output syntax and command line options.
33

SEE ALSO

35       pacman(1)
36

BUGS

38       Bugs can be reported on the bug tracker https://bugs.archlinux.org in
39       the Arch Linux category and title prefixed with [arch-install-scripts]
40       or via arch-projects@archlinux.org.
41

AUTHORS

43       Maintainers:
44
45       •   Dave Reisner <dreisner@archlinux.org>
46
47       •   Eli Schwartz <eschwartz@archlinux.org>
48
49       For additional contributors, use git shortlog -s on the
50       arch-install-scripts.git repository.
51
52
53
54                                  01/26/2021                    ARCH-CHROOT(8)
Impressum