fanfan54old / alis

Arch Linux Install Script (alis) installs unattended, automated and customized Arch Linux system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alis

Arch Linux Install Script (alis) installs unattended, automated and customized Arch Linux system.

This a simple bash script for an easy and fast way of installing Arch Linux, follow the Arch Way of doing things and learn what this script does. This will allow you to know what is happening.

Please, don't ask for support for this script in Arch Linux forums, first read the Arch Linux wiki, the Installation Guide and the General Recomendations, later compare those commands with the commands of this script.

For new features, improvements and bugs fill an issue in GitHub or make a pull request. You can test it in a VirtualBox virtual machine (recommended) before run it in real hardware. If you test it in real hardware please send me an email to pico.dev@gmail.com with the machine description and tell me if something goes wrong or all works fine. Pull request and new feature request are welcome!

Warning! This script deletes all partitions of the persistent storage

Currently these scripts are for me but maybe they are useful for you too.

Features

  • GPT, UEFI, BIOS
  • Support for SATA, NVMe and MMC
  • LVM and no LVM
  • root partition encrypted and no encrypted
  • LVM on LUKS when LVM and encrypted
  • File system formats ext4, btrfs (no swap), xfs
  • Optional file swap
  • WPA WIFI network installation
  • Periodic TRIM for SSD storage
  • VirtualBox guest utils
  • Intel processors microcode
  • Users creation and add to sudoers
  • Common and custom packages installation
  • AUR utility installation (aurman, yay)
  • Retry packages download on connection/mirror error
  • Desktop environments (GDM, KDE, XFCE, Mate, Cinnamon, LXDE), display managers (GDM, SDDM, Lightdm, lxdm) and no desktop environment
  • Additional kernel installation (linux-lts, linux-hardened, linux-zen)
  • Kernel compression
  • Graphic controllers (intel, nvidia, amd) with optionally early KMS start
  • GRUB, rEFInd, systemd-boot bootloaders
  • Script for download installation and recovery scripts and configuration files
  • Installation log with all commands executed and output in a file and/or asciinema video
  • Wait after installation for an abortable reboot

Installation

Internet connection is required, with wireless WIFI connection see Wireless_network_configuration to bring up WIFI connection before starting installation with alis.

# # Start the system with lastest Arch Linux installation media
# loadkeys [keymap]
# curl https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash, or with URL shortener curl -sL https://bit.ly/2F3CATp | bash
# # Edit alis.conf and change variables values with your preferences
# vim alis.conf
# ./alis.sh

Note to self: customize HOSTNAME, ROOT_PASSWORD, ROOT_PASSWORD_RETYPE, USER_NAME, USER_PASSWORD, USER_PASSWORD_RETYPE, PARTITION_ROOT_ENCRYPTION_PASSWORD and PARTITION_ROOT_ENCRYPTION_PASSWORD_RETYPE directly on the installation media before starting the script, as I won't write my password on GitHub đŸ˜…

Installation with asciinema vĂ­deo

As another form of log.

# # Start the system with lastest Arch Linux installation media
# loadkeys [keymap]
# curl https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash, or with URL shortener curl -sL https://bit.ly/2F3CATp | bash
# ./alis-asciinema.sh
# # Edit alis.conf and change variables values with your preferences
# vim alis.conf
# ./alis.sh
# exit
# ./alis-reboot.sh

Recovery

# # Start the system with lastest Arch Linux installation media
# loadkeys [keymap]
# curl https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash, or with URL shortener curl -sL https://bit.ly/2F3CATp | bash
# # Edit alis-recovery.conf and change variables values with your last installation with alis
# vim alis-recovery.conf
# # Optional asciinema video
# ./alis-asciinema-recovery.sh
# ./alis-recovery.sh

Video

asciicast

Arch Linux Installation Media

https://www.archlinux.org/download/

Reference

About

Arch Linux Install Script (alis) installs unattended, automated and customized Arch Linux system.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%