Skip to content

leugimkm/minimal-arch-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Arch Installation

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.


Usage

First, get the script by entering the following command on the terminal:

curl -LO https://github.com/leugimkm/minimal-arch-install/raw/main/install.sh

or enter this one:

curl -LO https://raw.githubusercontent.com/leugimkm/minimal-arch-install/main/install.sh

Then, make the downloaded script executable:

chmod +x install.sh

And finally, run the following command (see Configure before):

./install.sh

Configure

By 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=true

Before running the script, you should edit install.sh with nano (vim isn't shipped):

nano install.sh

and 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=true

To change the size of the swap partition to +8G for example, edit line 122:

  +2G # 2 GB swap partition by default

to this (you can delete the comment):

  +8G # 8 GB swap partition

TODO: add automated post-install scripts with different flavours.


For more technical details go to the official site of Arch.

About

Minimal Arch Installation

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages