Git Product home page Git Product logo

archaic's Introduction

Archaic

Arch Automatic Installation Commands

(Still somewhat personal)

What it does

  • Main Arch Linux on top of LVM on top of LUKS. Bare minimum desktop with XMonad+xmobar.
  • Secondary minimal Arch Linux as a rescue alternative.
  • refind boot manager.

Requirements

  • UEFI system.
  • Secure Boot disabled from UEFI.
  • GPT disk.
  • Existing EFI partition (only tested with the one created by Windows 10 in a Lenovo Thinkpad)
  • Free un-partitioned disk space ready to be asigned according to instructions. See comments inside run_archaic.
  • Live Arch Installation ISO (only tested with a USB stick on March 2018).
  • Internet conection.

IMPORTANT: There are many more requirements and constraints that you will only understand reading run_archaic and _inside_arch_chroot.

Usage

  • Put a copy of this repo inside your running Live Arch Installation ISO.
  • Open run_archaic in a text editor, read it, check it, double-check it and edit the required variables. Left $debug= commented, so you can do a dry-run.
  • Run run_archaic | tee /tmp/archaic.log script. It should be in debug mode so you can check that all text replacements went fine.
  • Re-open run_archaic and uncomment the debug= line.
  • Edit xorg_pkgs to reflect your video driver.
  • Run run_archaic | tee /tmp/archaic.log script and wait for input prompts.
  • Do not relax too much.

If you need to modify the code, remember: shellcheck is your friend (but ignore SC2086 recommendation for $PKGS).

In case of errors

To restart the process, remember to:

  • delete /boot/EFI/refind/
  • delete all kernels and initramfs in /boot/

Full restart from initial conditions is recommended, but if time needs to be saved, careful commenting of sections can be made in scripts (can be very challenging).

Inspiration

Wanna help?

  • Better diagnose of errors.
  • Smarter pacman repository to avoid redownloading packages.
  • Remove lot of duplicate and ugly bash code.
  • Ease testing with virtualization.
  • Suspend to RAM vs. crypt. What to do?
  • Many steps should be optional: backups, secondary_arch, etc.
  • Many hardcoded options: keyboard layout, timedate locale, etc.

archaic's People

Contributors

franalbani avatar

Stargazers

Van Nguyen avatar

Watchers

James Cloos avatar  avatar

archaic's Issues

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.