This script allows you to install Arch Linux from scratch in just a few seconds, with EFI and Btrfs subvolumes configured.
-
Download the Arch Linux ISO
Download the latest Arch Linux ISO from the official website:
Arch Linux Download -
Boot from the ISO
Boot your system using the downloaded Arch Linux ISO.
If you're installing from a wireless connection, you must use the iwctl command to establish the internet connection to proceed:
iwctl station list
iwctl station [wlan0] get-networks
iwctl station [wlan0] connect [Network name]- Install Git and Clone the Repository
Just in the first screen terminal run the following commands to install Git and clone this repository:pacman -Sy git git clone https://github.com/ArgiSanchez/Archi.git
- Customize the Scripts
Modify the run.sh and arch_2.sh scripts according to your needs.
-> the most important thing is to define the disk to use and set the two partitions to be used for the installation at the begin of run.sh script
4.1. Open fdisk: Use fdisk /dev/sdX in the terminal (replace X with your disk letter)
4.2. Create EFI Partition (512MB):
- Type n, Enter, Enter, +512M, Enter, t, Enter, 1
4.3. Create Btrfs Partition (Desired Size, e.g., 50GB):
- Type n, Enter, Enter, Enter, +50G, Enter, t, Enter, 20
4.4. Write Changes and Quit:
- Type w, Enter, q, Enter
You'll have an EFI partition (512MB) and a Btrfs partition (e.g., 50GB) for subvolumes
- Execute the Script
Run the installation script with:
sh run.sh sdX
After that you have a fully functional Arch command-line interface without a graphical environment. If you wish, you can proceed to install the beautiful Hyperland desktop...
After the initial setup, you can proceed with the excellent script from Ja.KooLit to get a fully functional and beautiful Arch Linux desktop with Hyprland in just in a few minutes.