archstrap
A stupid simple BASH script to bootstrap a minimal Arch Linux installer environment from other Linux distributions. Essentially archstrap
will create a base Arch Linux system with working pacman
, archstrap
, genfstab
, etc, at specifed mountpoint. archstrap
makes installing Arch Linux from any Linux distribution easy; After archstrap
execution, simply follow the ArchWiki installation guide starting at disk partitioning
Download
git clone https://github.com/wick3dr0se/archstrap; cd "${_##*/}"
Usage
./archstrap <mountpoint> [output_name]
Example
archstrap /tmp
optionally supply --buildfs
as the last paremeter to build just the rootfs, without mounting
Tips
archstrap
must be executed as superuser and a mountpoint must be specified to create the environment
archstrap
verifies the gpg signature of the global mirror it uses. keys may need to be manually received as superuser
sudo gpg --receive-key <KEY>
Legend
<> ... required argument
[] ... optional option