Skip to content

Instantly share code, notes, and snippets.

@alexlnkp
Created October 17, 2024 05:22
Show Gist options
  • Save alexlnkp/b6e60cbae964bf0844c8264c05492541 to your computer and use it in GitHub Desktop.
Save alexlnkp/b6e60cbae964bf0844c8264c05492541 to your computer and use it in GitHub Desktop.
General overview of steps that are necessary to install Arch linux

Disclaimer

This is NOT an installation guide/tutorial. This is only a general overview on what is GENERALLY done during Arch linux installation.

You still need to read the wiki to properly install Arch, what is written below is just an explanation on what is done, in what order and why.

Absolutely necessary steps are highlighted in bold.


Preparation

  1. Download Arch linux ISO from the official sources and flash it onto a USB drive to boot with.

Installation

  1. Boot from the USB drive with Arch linux image.
  2. Set the keyboard layout if needed.
  3. Set up internet connection unless You are using an ethernet cable.
  4. Check system clock. It should be automatically synced if You have internet connection.
  5. Partition the disks.
  6. Mount the filesystem. Enable swap (if you had it created in step 5)
  7. Install essential packages (base, linux, linux-firmware) using pacstrap.
  8. Generate fstab file to automatically mount the partitions on boot.
  9. Chroot into your new system.
  10. Set the timezone if needed.
  11. Create /etc/hostname file and name your network.
  12. Create initramfs using mkinitcpio. Might not be required if pacman's hooks were correctly triggered after installing linux package
  13. Set root password.
  14. Choose and install bootloader compatible with your UEFI. Verify the boot mode to check compatibility.
  15. Exit chroot and unmount all of the partitions.
  16. Reboot and pray.

Remember: It's okay if you failed the first time. You can always try again.


Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment