Bootstrap a base Manjaro Linux system
Find a file
2017-06-21 18:39:19 +02:00
.gitignore add .gitignore 2017-06-21 17:39:15 +02:00
config.sh Initial commit 2017-06-21 17:38:51 +02:00
get-pacman-dependencies.sh Initial commit 2017-06-21 17:38:51 +02:00
LICENSE add License 2017-06-21 17:41:40 +02:00
manjaro-bootstrap.sh [bootstrap] use http://repo.manjaro.org.uk 2017-06-21 18:39:19 +02:00
README.md Initial commit 2017-06-21 17:38:51 +02:00

manjaro-bootstrap

Bootstrap a base Manjaro Linux system from any GNU distro.

Install

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

Examples

Create a base Manjaro distribution in directory 'mymjr' (currently running Manjaro by default):

# manjaro-bootstrap mymjr

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

# manjaro-bootstrap -a x86_64 -r "http://repo.manjaro.org.uk/" mymjr 

Usage

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 mymjr/proc
# mount --bind /sys mymjr/sys
# mount --bind /dev mymjr/dev
# mount --bind /dev/pts mymjr/dev/pts

License

This project is licensed under the terms of the MIT license