Λrch Linux
The best Linux distribution !
Arch Linux is a lightweight and flexible Linux distribution that follows the principles of simplicity, user-centrism, and versatility. It is a rolling release distribution, which means that it receives frequent updates and new packages are added regularly.
Pros
Lightweight and fast: Arch Linux is designed to be minimalistic and lightweight, which makes it suitable for older hardware or low-end devices.
Rolling release model: Arch Linux follows a rolling release model, which means that it receives updates and new packages on a regular basis, making it always up-to-date.
Customizable and flexible: Arch Linux gives users the freedom to customize their system according to their needs and preferences. Users can easily install and configure the packages they need, and remove those they don't.
Strong community support: Arch Linux has a strong and active community that provides support and documentation through forums, wikis, and other resources.
Cons
Learning curve: Arch Linux has a steep learning curve, especially for new Linux users. It requires a certain level of technical knowledge and experience to install and configure the system properly.
No graphical installer: Arch Linux does not have a graphical installer, so users have to install it using the command line.
Lack of commercial support: Arch Linux is a community-driven project, which means that it does not have commercial support. Users have to rely on the community for support and troubleshooting.
Not suitable for beginners: Arch Linux is not recommended for beginners, as it requires a certain level of technical knowledge and experience.
Overall, Arch Linux is a powerful and flexible Linux distribution that is suitable for experienced users who are looking for a lightweight and customizable system. However, it is not recommended for beginners or users who are not comfortable with the command line.
Installation
You can download an Arch Linux image here.
Here we have two partitions, a loop
and a sda
. We have to create two other partitions on the sda
for the boot in fat32
and the rest of storage in ext4
for the system. For that we use command fdisk /dev/sda
. Tat command allow us to create those partitions.
Now we can press m
key to get some help.
Once that done, you can press w
to write and exit.
By enter the following command you can see that our partitions has been created successfully.
Partition format
The next step is to format our partition, the sda1
have to been formated in FAT32
, (it allow us to boot in it) and the sda2
have to be formated in ext4
. To make that enter the following commands.
Montage
We now have to mount the system partition (sda2
) to create base tree to boot our Arch Linux.
Once package has been installed, we can generate a partition table with genfstab
command and specify where he have search our partitions. For us, /mnt
.
We can now see that we have our base tree on /mnt
.
Basic setup
Our system is successfully installed that mean can 'chroot' to the system.
We have to setup some things on our device like hostname, network...
You can set the hostname by using the following command.
We can now create our hosts file and edit it.
Let's install the bootloader grub
by the following command.
Install grub like this:
Generate a root password with passwd
.
Your almost done! You can now exit unmount the /mnt
and reboot the computer to boot on your system.
And bim! You have your Arch Linux!
Use the following bash script to setup the network part.
To setup permanently you network on Arch Linux, use the followings commands.
Last updated