Giter VIP home page Giter VIP logo

arch-installation's Introduction

Arch linux - Installation script

This is my personal repo to install Arch Linux. I am not an expert so don't blindy install and think you get an out-of-the-box vanilla Arch experience.

My installation consists out of packages I have a personal preference for. Use it as a demo or check out the source as an inspiration but it is probably not suitable as a daily operating system if you have no experience using and maintaining an Arch distro. In addition, my personal Dotfiles are also installed.

My arch.sh installation script assumes you are installing Arch on a nvme ssd (nvme0n1). Find your own designated installation device by first looking it up via lsblk. The disk path is still hardcoded in my arch.sh script. So change that if your path differs.

Create and boot the Arch installer

  1. Grab the latest Arch iso from https://archlinux.org/.
  2. Write the image to a USB device: sudo dd bs=4M if=arch.iso of=/dev/sdx conv=fdatasync status=progress
  3. Boot the Arch usb installer.

Basic Arch installation

  1. I'm assuming you have an active internet connection if not: Arch Wiki - Connect to the Internet
  2. curl https://raw.githubusercontent.com/avbel/arch-installation/main/arch.sh -o arch.sh
  3. chmod +x arch.sh; ./arch.sh
  4. Follow the installation and after it's done it will automatically reboot to your Arch installation.

Sway installation

  1. curl https://raw.githubusercontent.com/avbel/arch-installation/main/sway.sh -o sway.sh
  2. chmod +x sway.sh; ./sway.sh The AUR nerds-fonts-complete package is > 1GB and takes a long time to install so just wait.
  3. Follow the installation and after it's done it will automatically reboot to the Sway window manager.

Optional ZRAM

  1. Install Zramd aur package: paru -S zramd
  2. Edit the config file at: /etc/default/zramd
  3. Enable using: sudo systemctl enable --now zramd.service

Timeshift settings

  1. Select “BTRFS” as the “Snapshot Type”; continue with “Next”
  2. Choose your BTRFS system partition as “Snapshot Location”; continue with “Next”
  3. “Select Snapshot Levels” (type and number of snapshots that will be automatically created and managed/deleted by Timeshift), recommendations:
    • Keep “Daily” at 5
    • Activate “Boot”, but change to 3
    • Activate “Stop cron emails for scheduled tasks”
    • Continue with “Next”
    • I also include @home subvolume (which is not selected by default). Note that when you restore a snapshot Timeshift will ask you again whether or not to include @home in the restore process.
    • Click “Finish”
  4. “Create” your first snapshot manually and exit Timeshift.

arch-installation's People

Contributors

avbel 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.