arch-chroot
Enhanced chroot command to help in the Arch Linux installation process. More information: <https://man.archlinux.org/man/arch-chroot.8>.
Install
- All systems
-
curl cmd.cat/arch-chroot.sh
- Debian
-
apt-get install arch-install-scripts - Ubuntu
-
apt-get install arch-install-scripts -
Alpine
-
apk add arch-install-scripts - Arch Linux
-
pacman -S arch-install-scripts - Kali Linux
-
apt-get install arch-install-scripts - Fedora
-
dnf install arch-install-scripts - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install arch-install-scripts - Docker
-
docker run cmd.cat/arch-chroot arch-chrootpowered by Commando
Enhanced chroot command to help in the Arch Linux installation process. More information: <https://man.archlinux.org/man/arch-chroot.8>.
-
Start an interactive shell (`bash`, by default) in a new root directory:
arch-chroot path/to/new/root -
Specify the user (other than the current user) to run the shell as:
arch-chroot -u user path/to/new/root -
Run a custom command (instead of the default `bash`) in the new root directory:
arch-chroot path/to/new/root command command_arguments -
Specify the shell, other than the default `bash` (in this case, the `zsh` package should have been installed in the target system):
arch-chroot path/to/new/root zsh
© tl;dr; authors and contributors