1ARCH-CHROOT(8) ARCH-CHROOT(8)
2
3
4
6 arch-chroot - enhanced chroot command
7
9 arch-chroot [options] chroot-dir [command]
10
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
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
35 pacman(1)
36
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
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 03/31/2020 ARCH-CHROOT(8)