Welcome to the Arch Linux Automated Installation Script repository! This project aims to simplify the installation process of Arch Linux by automating the setup steps, including disk partitioning, system configuration, and package installation. The script is designed to be flexible, allowing you to customize various aspects of the installation to suit your needs.
-
Automated Disk Partitioning:
- Supports both
ext4
andf2fs
filesystems. - Automatically detects and handles different disk types (
/dev/sda
,/dev/vda
,/dev/nvme0n1
). - Validates partition sizes and available space to prevent errors during setup.
- Supports both
-
Flexible Installation Options:
- Choose between different kernel versions (e.g., Zen, LTS, etc.).
- Create a swap file with customizable size.
- Optional creation of a home partition or allocation of all remaining space to the root partition.
-
User-Friendly Prompts:
- Easy-to-understand prompts for user input.
- Real-time feedback on available disk space after each partitioning step.
- Color-coded output for error messages and success notifications.
-
System Configuration:
- Sets up essential system settings such as locale, timezone, and hostname.
- Configures bootloader and enables necessary services.
- Optionally installs and configures proprietary NVIDIA or open-source AMD drivers.
Before running this script, ensure you have:
- A system with an Internet connection.
- A UEFI or BIOS (later) system.
- A desire to install Arch Linux!
-
Clone this repository:
git clone https://github.com/quinsaiz/archinstall.git cd archinstall
-
Make the script executable and Run:
chmod +x install.sh
-
Run the script:
./install.sh
Follow the prompts to customize your installation. The script will handle the rest!
During execution, the script will ask for several inputs:
- Disk Selection: Choose the disk where you want to install Arch Linux.
- Partition Sizes: Enter sizes for EFI, root, and home partitions, with automatic size adjustment based on available space.
- Filesystem Choice: Select either
ext4
orf2fs
for your root and home partitions. - Swap File: Optionally create a swap file of your preferred size.
- Kernel Selection: Pick the desired kernel version for your installation.
- Desktop Environment: Select from GNOME, KDE Plasma, or skip desktop environment installation.
The script will then proceed to partition, format, and mount your selected disk, install Arch Linux, and configure essential system settings.
-
Disk Partitioning:
- Enter size for EFI partition (minimum 512MB).
- Enter size for root partition (in GB).
- Optionally enter size for home partition (in GB) or press Enter to use the remaining space for root.
-
Filesystem Selection:
- Choose between
ext4
orf2fs
for the root partition.
- Choose between
-
Kernel Selection:
- Choose between
linux
,linux-zen
, orlinux-lts
.
- Choose between
-
Desktop Environment:
- Choose between
GNOME
,KDE Plasma
,XFCE4
or skip.
- Choose between
Feel free to contribute to the project by submitting issues or pull requests. Your feedback and contributions are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.