Code Monkey home page Code Monkey logo

sami's Introduction

SAMI - SamIsTheFBI's Arch Machine Installer script

Screenshot

This is a script to automate the installation process of my minimal Arch setup. Calling it minimal because my laptop has poor hardware specifications (lower than potato PCs & probably higher than minimalist GNU/Linux users). The script is heavily inspired by Bugswriter's Arch install script. I omitted a lot of commands which I didn't think were necessary. Just like his script, this one divides itself into 3 parts:

  • Part 1: The first part is for formatting & mounting of partitions, and continues to install base packages, divide the script into 2 more parts, chroot into the new system, and run Part 2 of the script.

  • Part 2: This second part sets username, password, locale, hostname, and configures grub along with my desired user permissions.

  • Part 3: This part prepares to set up my "work environment" by cloning my dotfiles, and other required repositories. Then, it installs a lot of programs using pacman (the package manager in Arch distributions). It also uses yay (an AUR helper) to further install a few more packages from the AUR. Then, it configures the touchpad to use the older synaptics driver for the circular scroll feature that I absolutely love, set date & time, start some Systemd services, and start zsh4humans script to set up the shell.

  • Part 4: The zsh4humans quits the running script so have to have a Part 4. This final script makes sure my dotfiles are correctly migrated. Makes a backup if found conflicting files. Also, this part runs the grub configuration again in case you want to dual boot with Windows on your device.

Instructions

  • Get the latest Arch ISO and burn it to a flash drive by using Rufus, Etcher or any other tool you prefer.
  • Boot into that flash drive.
  • Upon reaching the initial prompt, connect to internet.
  • Type the following:
pacman -Sy git
git clone https://github.com/SamIsTheFBI/SAMI
cd SAMI
chmod +x SAMIv2.sh
./SAMIv2.sh

Troubleshooting

Check Arch Linux Wiki Installation Guide because I think it's important for anyone using Arch to be familiar with Arch Wiki.

Who should use this script?

ME.

Or if you are someone who is trying out others' Arch setups. Or if you're making an Arch installer script for your own rice & would actually tinker around with the script. Or if Arch Wiki is daunting to look at but you are eager to install Arch manually.

This script is NOT for someone who wants to create their own Arch setup with ease because what you're actually looking for then is something like archinstall or Archfi. Unless you're happy with what they install for you, you should install Arch the traditional way.

Why write all this?

Because I was bored. But I guess now I just want to write proper documentation. Of course, there will be more updates to this and other repositories.

Wallpaper Credits

Link to the wallpaper in the screenshot above.

sami's People

Contributors

samisthefbi avatar

Watchers

 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.