How to install Arch Linux

The following article is going to show you how to install Arch Linux by using Arch Install Scripts. BEFORE starting we would advise you to read this FAQ. “Arch Linux is an independently developed, i686/x86-64 general-purpose GNU/Linux distribution that strives to provide the latest stable versions of most software by following a rolling-release model. The default installation is a minimal base system, configured by the user to only add what is purposely required.” – Source

 

Arch Wiki which is made by the community is a very good, if not the best, source and it should be the first one you should be advised from. IRC channel (irc://irc.freenode.net/#archlinux) and forums are also available in case your answer cannot be found else where. Last but not least, it’s good to see

pages for every command you don’t know. This can be done by calling the

command.

 

How to install Arch Linux

 

 

1. Download Arch Linux

Down load then new ArchLinux ISO from here.

An virtual file is provided which can start in one i686 and x86_64 live system to Arch Linux via internet. The virtual files are signed and you should always verify their signature before using them. In Arch this can be done by using:

The virtual file can be burned to a CD, to be attached as an ISO file or it can be written to a USB stick but using the “dd”. It is reserved fro new installations only. An already existing Arch Linux can be updated with:

2. Keyboard Language

For a lot of countries and types of keyboards the appropriate keymaps are already availiable, and a command like

can do what you want. More available keymap files can be found to:

3. Disk Partition

Check this partitioning article for details. If you want to create a pile of storage devices (stacked block devices) like LVM, LUKS or RAID do it now.

 

4. Partitions Configuration

You can see here for details.

If you’re using (U)EFI it’s likely that you will need another partition to host the UEFI System partition. Read this article.

 

5. Mount of Partitions

Now we have to mount the root parttion to ” /mnt “. You will also have to create catalogs and mount every other partitions you’ll create ( ” /mnt/boot ” , “/mnt/home” , “……”) if you want them to be indentified from ” genfstab”.

 

6. Connect to the Internet

A DHCP service is already active of every available device. If one needs to define a static IP or use another tool like Netctl  , the service dhcp should be stopped first. This can be done by using the following command:

For more information visit configuring network.

 

7. Wireless

Run

to configure the wireless network. For more information see Wireless Network Configuration and Netctl.

 

8. Installation of  Base System

Before the installation, edit

and remove the sumbol “#” in from of the close servers to your location. This mirrorlist copy will be installed in your new system from “pacstrap” so it is worth to be built correctly. By using pacstrap script we install the base system. The group package “base-devel” even though is optional, it should be installed if you’re planning to traslate a software from AUR or if you’re going to use ABS.

Other packages can be installed by attaching their name to the above command (separated by space) included bootloader if you wish.

 

 

9. Installation of bootloader

GRUB

For BIOS:

 

For EFI(in rare cases you’re going to need “grub-efi-i386”):

 

Installation of GRUB after chrooting

 

SysLinux

10. System Configuration

Create fstab with the following command(if you wish to use UUIDs or Labels, add the choise “-u” or “-l” respectively)

 

Then we do chroot to our new installed system:

 

Write your Hostname to “/etc/hostname” and create a symlink of “/etc/localtime” to  ” /usr/share/zoneinfo/Zone/SubZone”. Replace “zone” and “subzone” to what you want. For example:

 

Set the preferences of locale to ” /etc/locale.conf”

Add the preferences of  console keymap and font family to “/etc/vconsole.conf”.

Uncomment locale that you want to use to “/etc/locale.gen” and create it with “locale-gen.”

Configure the “/etc/mkinitcpio.conf” as it is needed (see mkinitcpio) and create the initial Ram disk with:

Form the bootloader(it is mentioned already earlier on this article.

Set a password for roo with the order “passwd”

11. Unmount Partitions and restart

If you’re still in chroot environment type “Exit” or press “ctrl+D” to exit. They use the following command

Then restart and log in to the new system with the root account.

 

12. Pacman configuration.

Edit “/etc/pacman.conf ” and configure it’s otions by activating every repository you need. See Pacman and Official repositories for details.

 

13. System Update

See Upgrating Packages for Information

 

14. Add User

Last step, add a normal user as it is describe in User management

 

if everything is done correctly you should be able to install arch linux. You can also check out the following video that shows How to install Arch Linux

Source

 Share!

 
comments powered by Disqus