Enhanced
chroot
command to help in the Arch Linux installation process. More information: https://man.archlinux.org/man/arch-chroot.8.
bash
, by default) in a new root directory:arch-chroot {{path/to/new/root}}
arch-chroot -u {{user}} {{path/to/new/root}}
bash
) in the new root directory:arch-chroot {{path/to/new/root}} {{command}} {{command_arguments}}
bash
(in this case, the zsh
package should have been installed in the target system):arch-chroot {{path/to/new/root}} {{zsh}}