Skip to content

Installation script to install Artix Linux with or without a custom configuration.

License

Notifications You must be signed in to change notification settings

ArmoredGoat/artixinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLEASE NOTE

This project is currently on hold.

In the coming months, I will completely revamp this project. Instead of providing both a basic and a custom installation of Artix, this installer will only provide the former. This way, I can focus on a solid base installation process. The custom installation will move into another separate repository in which I will put an installation script for the packages and all my configuration files. This way, I can edit my config files without interfering with this repository.

Eventually, this installer should provide

  • Encryption
  • BTRFS as root file system and subvolumes
  • Timeshift compatibility
  • Network connectivity
  • Base configuration
    • Base packages for everyday use/development
    • Senseful directory structure in home directory

All in all, I aim to a solid but modern base installation from which someone can build in any desired direction.

But first, I have to finish other task in life and research on stuff. Happy new year btw :)

ArtixInstall - an interactive Artix installation script

(Work in progress)

About this project

What does this script do?

This script is written to provide an automated yet interactive process to install Artix Linux on any modern machine. It is written in bash and do not rely on any other ressources other then these already installed in the live iso. Of course, an internet connection is also required.

In the process, the user can choose between two installation types

  1. Base installation

    • Only necessary packages and configuration
    • In the end, you have a working but basic Artix install
    • Additional packages: nano, manuals and tools for file system management
  2. Custom installation (not implemented yet)

    • Take over all my configuration, packages and user settings
    • (will talk more about that when it's finished...)

Either installation will wipe and use an entire disk. Please be aware of that so that you don't delete any data by accident.

The installation process is be pretty straight forward. Just follow the instructions and enter your information and within minutes, you have your Artix up and running.

Why did I write this script?

First of all, this is my first more complex bash script and GitHub project. I started this project to learn bash scripting and working with git as I plan to become a DevOps after my training as an IT specialist for system integration. Furthermore, I wanted to have an ever ongoing project which keeps getting better and more versatile the more I learn about bash scripting, linux and system administration. Therefore, I am grateful for any tips and tricks provided.

The second reason for this script is that I want to do some tinkering with my Artix installation and want to reinstall it easily if I happen to crash it beyond repair.

Maybe this script will inspire other users who are also new to Arch/Artix to write their own scripts or help to improve this one.

What features and improvements do I plan to implement later on?

Higher priority

  • Add customized installation process
    • Add customization (duh!): qtile, neovim for coding and LaTeX, mouseless workflows, ricing, ...
  • Find a better way to control cursor/delete temporary output while going through the configuration process

Lower priority

  • Add support for other init systems (only for base installation; might implement in distant future if not to complicated)
  • Add option to not use a full disk and rather add partitions
  • Add possibility to select which kernel will be installed
  • Add possibility to select which packages will be installed for the base installation

Permanently ongoing

  • Refactor and improve code according to my learning process
  • Improve documentation and comments of code
  • Improve README

How to use the script?

  1. Boot up your PC from an Artix live iso (ArtixLinux' download page)
    • Currently, only the base version with OpenRC is supported
  2. Login with the given credentials on the screen
  3. Switch to root by entering sudo su
  4. Connect to the internet by following the instructions given on the Artix or Arch wiki
  5. Run the folliwng commands to run the script and follow the instructions
# Download the installation script and save it as install.sh in current directory
curl https://raw.githubusercontent.com/ArmoredGoat/artixinstall/main/install.sh -o install.sh
# Make install.sh executable
chmod +x install.sh
# Execute install.sh
./install.sh
  1. After getting through with the installation, you should have a running Artix installation. Enjoy :]

How to contribute to this project?

Please let me know if you run into errors or problems that shouldn't be there by opening an issue or reaching out to me on Social Media (Will create accounts later...).

Also, at it is my first more complex scripts, please tell me if there are better ways to implement the features I had in mind. I don't know all the possibilities of bash that are available on the iso and there might be just the right command to substitute my clanky workarounds but I wasn't aware :)

Check What features and improvements do I plan to implement later on? to see what I am up to and where my prorities are. Maybe there is something you want to help with or you could give a hint for.

I am grateful for any advice that might improve this project and/or my skills in shell scripting.

Credits

The general process and some ways of doing things come from rwinkhart's Artix install script. I used it to get the general idea of an automated installation process, how and which information should be gathered by the script, and to finally install Artix via a script.

About

Installation script to install Artix Linux with or without a custom configuration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published