Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2023-01-08 19:30:07
Size: 780
Comment:
Revision 6 as of 2023-07-19 15:24:11
Size: 2237
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:

But roughly...

 * Download an ISO and flash to a USB
   * try: `dd bs=4M if=path/to/archlinux-version-x86_64.iso of=/dev/sdXN conv=fsync oflag=direct status=progress`
 * Boot into the live USB
 * [[Linux/PartitionTables|Partition]] and [[Linux/FileSystems|format]] the installation drive with
   * an '''EFI System Partition''' ('''ESP''') with ~512K formatted as FAT32
     * sometimes this partition type is labeled ''EFI (FAT-12/16/32)''
   * a [[Linux/Swap|swap partition]]
   * a '''root partition''' formatted as ext4
     * leave as the default (''Linux'') partition type
 * `mount(8)` the root partition to `/mnt`, and then the ESP to `/mnt/boot`
 * `swapon(8)` the swap partition
 * install the kernel
   * try: `pacstrap -K /mnt base linux linux-firmware`
 * generate the [[Linux/FsTab|fstab(5)]] file
   * try: `genfstab -U /mnt >> /mnt/etc/fstab`
 * `chroot(1)` into the new installation
   * try: `arch-chroot /mnt`
 * install `grub` and any microcode that may be needed
 * setup the boot loader
   * try: `grub-install --target=x86_64-efi --efi-directory=/mnt/boot` --bootloader-id=GRUB` then `grub-mkconfig -o /boot/grub/grub.cfg`
 * if needed, install and setup [[Linux/Networking|networking]] (because the live USB includes some daemons and utilities that aren't installed and enabled by default)
 * `poweroff(8)`, remove the live USB, and try booting directly into the new installation
Line 29: Line 54:
== Tool Chain == == Administration ==
Line 31: Line 56:
 * [[Netctl|netctl]]

Arch Linux

Arch Linux is a Linux-based operating system. It is distinguished from other distributions by its rolling release development model and bleeding edge ethos.


Installation

See the manual.

But roughly...

  • Download an ISO and flash to a USB
    • try: dd bs=4M if=path/to/archlinux-version-x86_64.iso of=/dev/sdXN conv=fsync oflag=direct status=progress

  • Boot into the live USB
  • Partition and format the installation drive with

    • an EFI System Partition (ESP) with ~512K formatted as FAT32

      • sometimes this partition type is labeled EFI (FAT-12/16/32)

    • a swap partition

    • a root partition formatted as ext4

      • leave as the default (Linux) partition type

  • mount(8) the root partition to /mnt, and then the ESP to /mnt/boot

  • swapon(8) the swap partition

  • install the kernel
    • try: pacstrap -K /mnt base linux linux-firmware

  • generate the fstab(5) file

    • try: genfstab -U /mnt >> /mnt/etc/fstab

  • chroot(1) into the new installation

    • try: arch-chroot /mnt

  • install grub and any microcode that may be needed

  • setup the boot loader
    • try: grub-install --target=x86_64-efi --efi-directory=/mnt/boot --bootloader-id=GRUB then grub-mkconfig -o /boot/grub/grub.cfg`

  • if needed, install and setup networking (because the live USB includes some daemons and utilities that aren't installed and enabled by default)

  • poweroff(8), remove the live USB, and try booting directly into the new installation

Upgrading

Arch Linux is a rolling release, meaning that there are no versioned releases; there is only the current state.

Keep an installation of Arch Linux up-to-date by frequently running:

sudo pacman -Syyu


Administration

Design


CategoryRicottone

Linux/Arch (last edited 2023-07-19 15:24:55 by DominicRicottone)