linux4life 22bd6f630a Atualizar 'artix-rootfs.sh' | 1 gadu atpakaļ | |
---|---|---|
README.md | 2 gadi atpakaļ | |
artix-bootstrap.sh | 2 gadi atpakaļ | |
artix-rootfs.sh | 1 gadu atpakaļ | |
get-pacman-dependencies.sh | 2 gadi atpakaļ |
Bootstrap a base Artix Linux system from any GNU distro.
# install -m 755 artix-bootstrap.sh /usr/local/bin/artix-bootstrap
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
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
This project is licensed under the terms of the MIT license