Bootstrap a base Arch Linux system
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1484668 Jan 14, 2018
Failed to load latest commit information. Update Aug 10, 2014 Merge pull request #30 from gt945/gt945-patch-2 Jan 14, 2018 first upload Apr 10, 2013


Bootstrap a base Arch Linux system from any GNU distro.


# install -m 755 /usr/local/bin/arch-bootstrap


Create a base arch distribution in directory 'myarch' (currently running arch by default):

# arch-bootstrap myarch

The same but use arch x86_64 and a given repository source:

# arch-bootstrap -a x86_64 -r "" myarch 


Once the process has finished, chroot to the destination directory (default user: root/root):

# chroot destination

Note that some packages require some system directories to be mounted. Some of the commands you can try:

# mount --bind /proc myarch/proc
# mount --bind /sys myarch/sys
# mount --bind /dev myarch/dev
# mount --bind /dev/pts myarch/dev/pts


This project is licensed under the terms of the MIT license