README.md 855 B

artix-bootstrap

Bootstrap a base Artix Linux system from any GNU distro.

Install

# install -m 755 artix-bootstrap.sh /usr/local/bin/artix-bootstrap

Examples

Create a base artix distribution in directory '/mnt':

# artix-bootstrap /mnt

The same but use init dinit and a given repository source:

# artix-bootstrap -i dinit -r "http://mirror1.artixlinux.org/repos" /mnt

Usage

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

# mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys
# mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev
# mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
# PS1='(chroot) # ' chroot /mnt/ /bin/bash

License

This project is licensed under the terms of the MIT license