87 lines
2.4 KiB
Text
87 lines
2.4 KiB
Text
|
## Installing Arch Linux with arch-install
|
||
|
|
||
|
The `arch-install` script provides a streamlined way to install Arch Linux. It automates many of the manual steps, making the installation process more efficient.
|
||
|
|
||
|
## Prerequisites
|
||
|
|
||
|
* A bootable USB drive with the Arch Linux installation media.
|
||
|
* A target system with an internet connection.
|
||
|
* Basic understanding of Linux commands.
|
||
|
|
||
|
## Steps
|
||
|
|
||
|
1. Boot into the Installation Media:
|
||
|
|
||
|
* Insert the USB drive into your target system and boot into it.
|
||
|
* Select the "Boot Arch Linux" option from the boot menu.
|
||
|
|
||
|
2. Connect to the Internet:
|
||
|
|
||
|
* Once booted, connect to the internet using your preferred method (e.g., Wi-Fi, Ethernet).
|
||
|
|
||
|
3. Start the Installation:
|
||
|
|
||
|
* Open a terminal and run the following command:
|
||
|
|
||
|
```
|
||
|
sudo arch-install
|
||
|
```
|
||
|
|
||
|
* This will start the interactive installation process.
|
||
|
|
||
|
4. Disk Partitioning:
|
||
|
|
||
|
* The script will guide you through the disk partitioning process. You can choose from various partitioning schemes, including GPT and MBR.
|
||
|
|
||
|
* Select the appropriate disk.
|
||
|
|
||
|
5. File System Formatting:
|
||
|
|
||
|
* Choose the file system for your root partition (e.g., ext4, Btrfs).
|
||
|
|
||
|
* Create/Format the partitions as required.
|
||
|
|
||
|
6. Installation of Base System:
|
||
|
|
||
|
* The script will install the base system by default when you click install.
|
||
|
|
||
|
7. Time Zone and Locale Configuration:
|
||
|
|
||
|
* Set your time zone and locale preferences.
|
||
|
|
||
|
8. Root Password Setup:
|
||
|
|
||
|
* Set the root password for your system.
|
||
|
|
||
|
9. User Account Creation:
|
||
|
|
||
|
* Create a non-root user account and set a password for it.
|
||
|
|
||
|
10. Boot Loader Installation:
|
||
|
|
||
|
* Choose a bootloader (Systemd-Boot, Grub, Etc.
|
||
|
|
||
|
11. Install extra packages:
|
||
|
|
||
|
* Install extra packages now, if you wish.
|
||
|
|
||
|
12. Installation Completion:
|
||
|
|
||
|
* The script will finish the installation process.
|
||
|
|
||
|
## Post-Installation
|
||
|
|
||
|
* Reboot: Reboot your system into the newly installed Arch Linux.
|
||
|
* Basic System Configuration:
|
||
|
* Configure your network settings, hostname, and other system parameters.
|
||
|
* Install additional packages as needed using the `pacman` package manager.
|
||
|
* Set up your preferred desktop environment or window manager.
|
||
|
|
||
|
## Additional Tips
|
||
|
|
||
|
* For more advanced users, consider using a text-based installation method to have more control over the process.
|
||
|
* Refer to the Arch Linux documentation for detailed information on each step.
|
||
|
* Use the Arch Linux forums for help and support.
|
||
|
|
||
|
By following these steps and leveraging the `arch-install` script, you can efficiently install Arch Linux on your system.
|