This wikiHow teaches you how to replace your computer's current operating system with Arch Linux, which is an advanced version of Linux. You can install Arch Linux on both Windows and Mac computers. Back up your computer to an external...
Part 1 of 3:
Booting into the Installer

Back up your computer to an external hard drive. You'll be erasing your current operating system, so make sure that you have a backup of anything that you want to keep before continuing.
Download the Arch installation image. Arch Linux can be downloaded in ISO format, from which point you can burn it onto a blank DVD in order to run the image on your computer. To download this image:
Burn the image onto a blank DVD. Once your Arch Linux ISO file finishes downloading via your torrent client, you'll burn it onto a blank DVD using your computer's DVD drive. Once the burning is complete, leave the DVD in your computer.
Restart your computer. Click Start
, click Power
, and click Restart in the menu.
, click System Preferences..., click Startup, click External Drive, and then restart by clicking Restart... in the Apple menu and clicking Restart when prompted.
Press the key that allows you to change the boot order. On most newer computers, this is F12, though the exact key should be displayed on the screen during boot up. If there is no key to change boot order, press the BIOS Setup key (usually F1, F2, F10, or Del).
Select your installation drive as the primary boot drive. Set the drive (e.g., "DVD Drive" or "Disk Drive") that contains your Arch Linux DVD as the primary drive by selecting it and pressing the + key until it's at the top of the menu.
Save and exit the "Boot Options" screen. You should see a key at the bottom or in the bottom-right corner of the screen that you can press to save and exit. After doing so, your computer will resume restarting.
Select Boot Arch Linux and press ↵ Enter. This will launch the Arch Linux installer, at which point you can proceed with partitioning your hard drive.
Part 2 of 3:
Creating Partitions
Check your existing drives. You'll have at least two drives available: your computer's hard drive, and the Arch Linux installation media. To check your current drives:
Bring up the partition page. Type in cfdisk [drive name], making sure to replace [drive name] with your hard drive's name, and press ↵ Enter, then select DOS and press ↵ Enter again.
Delete the hard drive's contents. Select a partition in the middle of the screen, select Delete at the bottom of the screen, press ↵ Enter, and repeat for any other partitions in the middle of the screen. You should ultimately be left with a line entitled Pri/Log Free Space.
Create a "swap" partition. This partition will function as your system's backup memory if and when you are consuming all of your RAM. To do so:
Create your main hard drive partition. This is the partition on which your Arch Linux operating system, files, and other information will be stored. To do this:
Label the "swap" partition. This will set it as your system's RAM:
Note the names of your partitions. In the "Name" column on the far-left side of the screen, you should see a name (e.g., "sda1") next to your "swap" partition, and a similar name (e.g., "sda2") next to the primary partition. You'll need both of these names in order to format your partitions.

Exit the "cfdisk" utility. Select Quit and press ↵ Enter to do so.
Format your primary partition. This will make it usable with your operating system. To do this, type in mkfs.ext4 /dev/[primary partition name] and press ↵ Enter.
Mount the formatted partition. Type in mount /dev/[partition name] /mnt and press ↵ Enter. This will make the partition into a usable drive.
Add a swap file to the "swap" partition. Type in mkswap /dev/[partition name] and press ↵ Enter, then type in swapon /dev/sda1 and press ↵ Enter again. After completing this step, you can proceed with installing Arch Linux.Part 3 of 3:
Installing
Set up a Wi-Fi connection. If your computer is plugged into your router via ethernet, you can skip this step. Using ethernet is preferable to using Wi-Fi.[1]
Install the base system. Type in pacstrap /mnt base base-devel and press ↵ Enter. The system will begin installing onto your computer.
Open "chroot" access. Type in arch-chroot /mnt and press ↵ Enter. This will allow you to change aspects of the root directory, including the password.
Set a password. This is the password that you'll use to log into the root account. To do so:
Set a language. To do so:
Select a time zone. To do so:
Set a host name for your computer. To do so, type in echo name > /etc/hostname and press ↵ Enter.
Download the GRUB bootloader. This is the program that will install your Arch Linux for you. To do so:
Install GRUB. Make sure that when you do this, you install it on your actual hard drive (e.g., "sda"), not the partition (e.g., "sda1"). To install GRUB:
Create an "init" file. This file stores information about your computer's hardware, making it available for utilization by Linux. To do so, type in mkinitcpio -p linux and press ↵ Enter.

Create a configuration file for GRUB. To do so, type in grub-mkconfig -o /boot/grub/grub.cfg and press ↵ Enter.

Create an "fstab" file. Type in genfstab /mnt >> /mnt/etc/fstab and press ↵ Enter. Doing so allows Arch Linux to identify your partition's file systems.

Reboot your computer. To do so, type in umount /mnt and press ↵ Enter, type in reboot, press ↵ Enter, remove your installation media, and wait for your system to finish rebooting.
Log into your account. Type root into the "login" field and press ↵ Enter, then type your password in and press ↵ Enter. You have successfully installed and opened Arch Linux on your computer.Update 04 March 2020
ncG1vNJzZmismaXArq3KnmWcp51ktbDDjK2mZqGeqMGiuMtmmKubmGK5qrrUsQ%3D%3D