
Official arch linux install guide pdf Continue Arch Linux Live boot installation Many Linux users are stopped from using Arch Linux because they cannot install it. This Arch Linux installation guide will solve this issue. It shows the entire arch linux installation process step by step. SUBSCRIBE for multiple Linux videos There are two possible Arch Linux installation options: I personally think that installing Arch Linux in legacy mode is more conservative, simpler and more reliable. However, UEFI mode is more up-to-date, and some modern hardware only supports UEFI installation. This Arch Linux installation guide will use UEFI mode, but I indicate the steps and commands that are different for legacy mode. So no matter what mode you choose, this guide will help you install Arch Linux with a minimal graphics environment. UEFI means Unified Extensible Firmware Interface and here are some of its advantages: UEFI replaces the Basic Input/Output System (BIOS) interface. UEFI is compatible with GPT tables. Supports larger hard drives. It is more configurable and, as a result, starts faster. In addition, a GUID partition table (GPT) will be used. It is more advanced than a primary boot record (MBR) partition. It works with volumes greater than 2 TB and supports up to 128 partitions. However, if you decide to run the legacy installation, use the MBR table. Then, let's start with the detailed installation guide of Arch Linux UEFI. Before you start downloading Arch Linux ISO First, download the Arch Linux ISO installation from the Arch Linux website. You can download the torrent file or use the direct link. Just find your country and click on the link. Among the different files, choose the ISO files archlinux-xxxx.xx.xx-x86_64.iso and the signature archlinux-xxxx.xx.xx-x86_64.iso.sig: Download the Arch Linux ISO When you download the ISO. you need to check the signature to make sure it hasn't been compromised: gpg --keyserver-options auto-key-retrieve --verify /path/to/archlinux.iso.sig If you see Good signature from ..., this means everything is fine: Next, you need to write it to the USB flash drive. Open the Linux terminal and run the following command: dd bs-4M if/path/to/archlinux.iso of/dev/sdx status>progress > sync where /path/to/archlinux.iso is the path to the downloaded ISO file; /dev/sdx is the flash drive. You can find this name with the sudo fdisk -l command and the size of the USB flash drive. Alternatively, you can use a graphics program to write ISO to a USB. Practice your Arch Linux installation in VirtualBox You can try the Linux Arc on a virtual machine first. It will help you experiment with installation and avoid errors in future real installations. To run Arch in virtualbox, follow these steps. Create a new machine and name it Arch Linux. Give 2GB of RAM. If you're missing the RAM on your PC, keep it at 1GGB. 1 DDD. a new hard drive. Select VirtualBox Disk Image (VDI) and dynamically allocated dimensions. Give the VDI 20GB and click Create. Click the Settings icon. On the System tab, turn on UEFI mode. Click the Start icon or double-click Arch Linux. Specify the location of the downloaded ISO Arch Linux. VirtualBox in EFI mode The process of starting Arch Linux live in UEFI mode can be very slow. If you only see the back screen, this is normal. Wait some time. When the system loads, and you can start installing Arch Linux. Arch Linux installation Check the network connection First of all, check your internet connection. I recommend using a wired connection. To check if the internet works, you need to ping on any server, for example, the Arch Linux Website: Test Arch Linux Connection with ping If you are not sure which interfaces are available, use If you are using a wired connection, it is usually picked up automatically. Wi-Fi requires some additional settings. For the Wi-Fi run: you will see a window similar to this one where you can choose the available networks: WI-Fi menu in Arch Linux Type the password and connect to the Wi-Fi network. However, I recommend using a wired internet connection whenever possible. Partition The next step in our Arch Linux installation guide is to partition your hard drive. List the available partitions and disks: Most likely, you will only have two hard drives: the USB drive with the Arch Linux ISO the HDD/SSD computer. If you have multiple hard drives, use fdisk to examine their size and define which one you want to use to install Arch Linux. If you already have a partition table, skip this step. If your hard disk is brand new as in the case of a virtual machine or you want to partition your hard disk again, run this command to create a new partition table: Note! Back up all the data, because creating a new partition table will erase everything from a drive. In the label type window, select GPT. Select the Legacy Mode GPT Partition! If you are doing the legacy installation, choose the dos partition type and do not create the UEFI partition. Use the arrow and Enter keys to create 3 partitions with cfdisk: /dev/sda1 - choose 512Mb of space (UEFI) /dev/sda2 - choose at least 10 GB of space (root) /dev/sda3 - choose all left space (home) Write the table to your hard disk and exit. If you are not familiar with cfdisk, watch the video tutorial above. Now, list partitions again: The /dev/sda disk must have three partitions. We The first partition is the UEFI partition. It must be formatted with a FAT file system: Legacy mode! If you do the legacy installation, skip the UEFI formatting step because you should not have the UEFI partition. The other two partitions can be formatted in any Linux file system. We recommend that you use EXT4: mkfs.ext4 /dev/sda2 mkfs.ext4 /dev/sda3 Next, mount main partition: Create a folder to mount the root partition and mount it: mkdir /mnt/home mount /dev/sda3 /mnt/home Check the mount points if they were created correctly: Note, the primary mount point is the folder where the system will be installed. Install the Ora system, let's start the installation process by installing the minimal Arch Linux system: pacstrap -i /mnt base linux linux-firmware sudo nano When the system requires you to choose the components to install, select everything and yes. Wait some time until it completes. Generate fstab files Next step in this Arch Linux installation guide is to generate the fstab file: genfstab -U -p /mnt >> /mnt/etc/fstab For information about the meaning of -you and -p, type genfstab -help to display the description of these options. Chroot to the system installed Next, chroot (change root) to the system mounted on /mnt using the BASH environment: arch-chroot /mnt /bin/bash chroot Changing the live ISO environment in the root environment of the installed Arch system. This accesses the system as a root user. A little later, you will also add the regular user. Set the locale To set localization, you must work in the Nano editor. Type: and press Enter. Find the language you want to use. In my case, I'm going to install American English. Turn on the search option by pressing the Ctrl and W shortcut (shortcuts are listed at the bottom of the screen) and #en_US. Press Enter. Search #en_US in Nano You should switch to the #en_US. UTF-8 UTF-8 Remove the comment by removing the s. Press Ctrl -O Enter sign to save and Ctrl -X Enter to exit the editor. After that, you need to generate the locale. Run: And create the local.conf file with the corresponding language settings: echo LANG en_US. UTF-8 > /etc/locale.conf Set the time zone To set the time zone, type: ln -sf /usr/share/zoneinfo/ and press the Tab key to see all available options. In my case, I need to use Europe. Again, you can press the Tab key and you will see all the cities available. I'm going to use Stockholm. Save this link to /etc/localtime. The final command will look like this: ln -sf /usr/share/zoneinfo/Europe/Stockholm /etc/localtime Instead of Europe and Stockholm, you can select the region and time zone. Set Local Time To set the system time, run this command: And check the time: if the time is incorrect, go back and make sure you have set the time zone correctly. Set Host Name A host name is the name of the computer. Let's call it archPC. Run the following command: echo archPC > /etc/hostname It is you must add this name to the /etc/hosts file. Type: and press Enter. In the Nano editor, add this line to the end of the file: 127.0.1.1 localhost.localdomain archPC Set host name If you are using a static IP address, replace 127.0.1.1 with the static IP address provided by the Internet provider. Press Ctrl-O Enter and Ctrl-X Enter to save and exit the Enable the network first, install the network manager: then enable it: systemctl enable NetworkManager Enable Network Manager Now, the system will be able to run a network manager when the system starts and connect to the Internet automatically. Keep in mind that these settings only work for wired Internet connection.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages3 Page
-
File Size-