Tuesday, April 1, 2025

Arch Linux: Quick installation using the "archinstall" script

Boot your computer using the Arch Linux ISO image. When the command prompt appears, run the "archinstall" installation script.



After some checks you will get to the installer menu. Here configure the following settings:



Archinstall language - select the installation language, it is better to leave it by default, otherwise there may be problems with displaying the encoding in the menu.

Locales - specify the keyboard layout, language and encoding.



Mirrors - select your region where the Arch Linux repository mirror will be located. You can also specify your installation server address.



Disk configuration - configuration of disk and partitions for OS installation. Can be done manually or automatically.



Disk encryption - if necessary, you can encrypt your disk.



Swap - Set to use "Swap on zram" to reduce the load on your HDD or SSD.



Bootloader - select which bootloader to use. It is recommended to leave the default Systemd-boot.



Unified kernel images - enable or disable UKI (unification of the system kernel into one file). It is recommended to enable for modern systems, use systemd-boot and Secure Boot.



Hostname - enter the host name.



Root password - enter the password for the user "root".



User account - add additional user accounts if necessary.



Profile - select the configuration of your OS, this will determine the number and type of additional packages and utilities installed.



Audio - select packages for use by your sound card.



Kernels - select the Linux kernel type (linux - the default regular kernel, linux-hardened - enhanced security, linux-lts - server version using older tested kernels, linux-zen - kernels with reduced response time, optimized performance, but less stability).



Network configuration - configure the network adapter on the system being installed, you can simply copy the settings from the current OS loaded from the ISO image.



Additional packages - add additional packages if necessary, which will be installed along with the OS.



Optional repositories - enable, if needed, official additional repositories that extend the available set of packages (multilib - recommended to enable, testing - not recommended).

Timezone - set the time zone.



Automatic time sync (NTP) - enable (recommended) or disable automatic time synchronization via the Internet.

Then you can start the installation by clicking "Install" or interrupt the process by using the "Abort" command. You can also save the resulting configuration file - "Save configuration".
Then the installer will offer to review the configuration again. The installation will begin after your confirmation.





Once the process is complete, you will be prompted to perform additional configurations on the newly installed system before rebooting. Next, type "reboot" to reboot the system and extract the ISO image.



No comments:

Post a Comment