This is a fully automated and interactive script for installing Arch. It contains a wide variety of options. To install use the following command after booting to the Arch ISO,
curl -q https://raw.githubusercontent.com/eb3095/archian/master/web.sh | bash
or
pacman -Sy --noconfirm
pacman -S git --noconfirm
git clone https://github.com/eb3095/archian
cd archian
./install.sh
or
Use the ISO from the Archian Media section.
- Desktop
- BlackArch
- Server
- Virtualization + OVMF
- Nvidia Drivers
- AMDGPU Drivers
- Vulcan
- Wine
- Developement tools
- Desktop Applications
- KDE
- Enlightenment
- LXDE
- XFCE
- None
You can now script the install entirely with archian.json. An example is available in templates/example.json. This defines everything before hand about the install process. Package configuration is exclusionary but you can disable all packages. Black arch is for the blackarch install only.
The entire install process is logged to /var/log/arch-install.log. The install process is only logged when scripted. As of now I do not have a proper work around for stdout/stderr redirection that doesn't break dialog.
This can also be configured in the ISO boot menu via the cmdline,
archian_json=https(s)|ftp://url
or
archian_json=/path/to/file
or
override the domain name "http://installer.archian.com" and generate (or provide a static) archian.json from there.
Note the "files" option in the json format. This is to provide a link to download the rootfs directory and scripts. This needs to be a zip file as of right now. The structure of this should be as follows.
rootfs/
root/
etc/
archian-boot.sh
archian-post.sh
archian-pre.sh
The boot script is a bash script named archian-boot.sh. This executes on first boot after the archian boot process runs. The boot script is entirely optional. This does not require archian.json. Everything is logged to /var/log/archboot.log.
This script is executed before the chroot or any action is taken. Useful for special installed env changes. This script is optional. This does not require archian.json.
This script is executed after everything is done, while still chrooted, but before the installer is removed. Use the following to install packages via trizen from repo or aur. Be warned this isn't verified and just confirms everything. This script is optional. This does not require archian.json. This is logged to /var/log/archpost.log
install_pkgs nano vi emacs
Files in rootfs are copied over, overwriting anything else in there. If you need anything more then that, do it in the scripts.
These files simply need to be in the folder you are in when you execute the curl for web.sh. If you git clone it your self just move them into the archian folder's rootfs before running install.sh. Same with the ISO if you build it manually.
Web
./
archian.json
archian-boot.sh
archian-post.sh
rootfs/
Git / ISO
archian.json
archian-boot.sh
archian-post.sh
archian/
install.sh
rootfs/
bin/
lib/
...
You can find the latest ISO download from the following link,
If you would like to build your own, the creation script can be found here,
https://github.com/vultr/archian-iso
Build tool for PXE comming soon.