Giter Site home page Giter Site logo

minimal-arch-install's Introduction

minimal-arch-install

Install script

  • LVM on LUKS
  • LUKS2
  • systemd-boot (with Pacman hook for automatic updates)
  • systemd init hooks (instead of busybox)
  • SSD Periodic TRIM
  • Intel microcode
  • Standard Kernel + LTS kernel as fallback

Requirements

  • UEFI mode
  • NVMe SSD
  • TRIM compatible SSD
  • Intel CPU (recommended: Skylake or newer due to fastboot)

Partitions

Name Type Mountpoint
nvme0n1 disk
├─nvme0n1p1 part /boot
├─nvme0n1p2 part
   └─cryptlvm crypt
       ├─Arch-swap lvm [SWAP]
       └─Arch-root lvm /

Installation guide

  1. Download and boot into the latest Arch Linux iso
  2. Connect to the internet. If using wifi, you can use wifi-menu to connect to a network
  3. Clear all existing partitions (see below: MISC - How to clear all partitions)
  4. (optional) Give highest priority to the closest mirror to you on /etc/pacman.d/mirrorlist by moving it to the top
  5. wget https://raw.githubusercontent.com/mealies/minimal-arch-install/master/1_install.sh
  6. Change the variables at the top of the file (lines 3 through 9)
    • continent_country must have the following format: Zone/SubZone . e.g. Europe/Berlin
    • run timedatectl list-timezones to see full list of zones and subzones
  7. Make the script executable: chmod +x 1_arch_install.sh
  8. Run the script: ./1_arch_install.sh
  9. Reboot into Arch Linux
  10. Connect to wifi with nmtui

Misc guides

How to clear all partitions

gdisk /dev/nvme0n1
x
z
y
y

Set closest Mirrors

pacman -S reflector
reflector --country France --country Germany --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

minimal-arch-install's People

Contributors

mealies avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.