Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
/ Arch-setup Public archive

A single file and fully customizable installer script for archlinux.

License

Notifications You must be signed in to change notification settings

The-Plottwist/Arch-setup

Repository files navigation

Arch-setup

[This Repository is now on Slow maintenance mode; don't expect new functionality.]

A single and fully customizable installer script for archlinux.

Archlinux is a distro that it gives full control to anyone who wants to install this distro. With their comprehensive wiki page, one can find satisfying answers to his/her questions and can follow various guides to achieve his/her customized installation. By writing this script, I wanted to retain this customizability while on the other hand automating my installation process.

And you can do so too. It is a single bash script after all. Just follow how to modify the code section.

Features

arch-setup.sh provides a complete system installation which can be boiled down to:

  • Auto partitioning [disabled by default]

  • Auto encrypting with cryptsetup [disabled by default]

  • Installing a set of packages (both aur and official)

  • Performing package specific operations

  • Installing an aur helper

  • Installing a bootloader

  • Installing a Desktop Environment

  • Installing a login manager & greeter

  • Setting a default background for desktop & login manager

  • Adding a user account

  • And a few more...

All of the packages are predefined and can be changed before running the script.

To see the package list, please read: Packages.md

US Layout

This is the default layout when archiso boots.

alt text

Source: https://commons.wikimedia.org/wiki/File:KB_United_States.svg

Usage

After booting into the live environment, do:

Enable Internet Connection:

Clone the Repository:

  • Install git: pacman -S git

  • Clone the repo: git clone /~https://github.com/The-Plottwist/Arch-setup

  • Change your directory to cloned repo: cd Arch-setup (This is necessary for background images)

  • Run the script: ./arch-setup.sh

How to enable auto partitioning/encrypting?

In the script, change this:

24 #Auto partitioning wipes hard disk entirely, therefore it is disabled by default.
25 #To enable, uncomment the below line
26 #Remember, it is at your own risk!
27 #declare ENABLE_AUTO_PARTITIONING="true"

to this:

24 #Auto partitioning wipes hard disk entirely, therefore it is disabled by default.
25 #To enable, uncomment the below line
26 #Remember, it is at your own risk!
27 declare ENABLE_AUTO_PARTITIONING="true"

How to modify the code?

You can read: Breaking-into-pieces.md and Before-altering.md

Rest is up to you.

Sidenote: The source code version used in the Breaking-into-pieces.md is different form the development branch. It is only there for learning purposes and will not run due to alterations made to make it look pretty.

Image Credentials

Login screen photo by Amir Esrafili: https://unsplash.com/photos/YP0nK_9TuC8

Desktop photo by Bjorn Snelders: https://unsplash.com/photos/zNNPSqKRR2c

Both photos are photoshopped by myself.

Followed Guides

About

A single file and fully customizable installer script for archlinux.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages