Simply boot into a live Arch Linux ISO, download the script (using curl) and execute install.sh.
Feel free to download, edit, clone, fork or open an issue.
First, get the script by entering the following command on the terminal:
curl -LO https://github.com/leugimkm/minimal-arch-install/raw/main/install.shor enter this one:
curl -LO https://raw.githubusercontent.com/leugimkm/minimal-arch-install/main/install.shThen, make the downloaded script executable:
chmod +x install.shAnd finally, run the following command (see Configure before):
./install.shBy default the script has the following configuration (also +2G for swap partition):
readonly HOSTNAME='arch'
readonly TIMEZONE='America/Lima'
readonly KEYMAP='us'
readonly ROOT_PASSWORD='root'
readonly USER_NAME='bot'
readonly USER_PASSWORD='bot'
# readonly SHOW=false
readonly SHOW=true
# readnly ASK=false
readonly ASK=trueBefore running the script, you should edit install.sh with nano (vim isn't shipped):
nano install.shand then apply changes, for example:
readonly HOSTNAME='MyArchBox'
readonly TIMEZONE='America/New_York'
readonly KEYMAP='us'
readonly ROOT_PASSWORD='superstrongpassword'
readonly USER_NAME='archlover'
readonly USER_PASSWORD='iusearchbtw'
readonly SHOW=false
# readonly SHOW=true
readonly ASK=false
# readonly ASK=trueTo change the size of the swap partition to +8G for example, edit line 122:
+2G # 2 GB swap partition by defaultto this (you can delete the comment):
+8G # 8 GB swap partitionTODO: add automated post-install scripts with different flavours.
For more technical details go to the official site of Arch.
