Git Product home page Git Product logo

arch-installation's Introduction

arch-installation

alt text

Build Status License: GPL v3

Overview

This is a tool that I've built to help ease the process of installing arch-linux distro. It's meant to install the base arch-linux system, and then apply my drivers, config, Desktop-Environment upon it. Settings could be changed to meet your desire, edit the snackk.conf file.

First of all you should download and burn the latest arch-linux image, that you can find under releases. As an alternative, you can build the image yourself, look under Customizing image to see how.

The installation is divided in several stages:

  • arch-installation - (needed) Installs arch-linux base system.

  • arch-configuration - (needed) Sets up hostname, keyboard, language, timezone, root password and installs some dependencies along with grub.

  • environment-setup - (needed) Sets up a graphical environment with Deepin.

  • snackk-setup - (Optional) Installs arch-config-files.

  • toshiba-s50-b131-setup - (Warning) Specific hardware configuration for this particular laptop.

  • xiaomi-notebook-pro-setup - (Warning) Specific hardware configuration for this particular laptop.

Customizing image

Install the required tools and download the latest arch-linux image from the official page:

$ sudo pacman -S squashfs-tools cdrtools

After that you need to clone this repo:

$ git https://github.com/snackk/arch-installation && cd arch-installation

Now run the Makefile:

$ make ISO=~/Downloads/archlinux-2017.08.01-dual.iso

Final iso will be available inside the repository directory. Use dd or whatever tool you use to burn it somewhere.

Installation

  • Boot the customized image.

  • Change the keyboard layout.

$ loadkeys pt-latin9
  • Connect to the internet

Wireless:

$ wifi-menu

or Wired:

$ dhcpcd
  • Change snackk.conf to your own configs.

  • Run arch-installation.

$ ./arch-installation.sh
  • After it shutdown, turn it back on (Default login is root and password). Connect to the internet again and then run:
$ cd /
$ ./environment-setup.sh
  • Next some hardware specific dependencies and drivers (Password may be needed here):
$ ./toshiba-s50-b131-setup.sh
$ reboot
$ ./snackk-setup.sh
  • You're good to go!

  • Don't forget to change your password later on.

Problems

If you can't run the scripts:

$ chmod +x *.sh

Acknowledgements

The script to make a custom image of arch-linux is based on this project Anarchy, they made a huge effort on making it happen, I've just made a few tweaks and changes so it would run on the newest arch-linux image.

Disclaimer

I am not responsible for any damage to your machine. Run at your own risk.

Written by @snackk

arch-installation's People

Contributors

snackk avatar

Stargazers

 avatar

Watchers

 avatar

arch-installation's Issues

snackk-setup

Due to a bug, pacman_dependecies keeps asking for a password. Shouldn't be this way, it should do it without asking for it.

AUR

yaourt cannot fetch dependencies because it's run under root user. Must be changed inside the script.

Grub theme

Grub is installed as is. Must be configured to install theme.

notebook-pro

Installation tests

Every stage should be tested individually.

  • Pre-installation
  • Pos-installation
  • snackk-installation

Fix ISO Label

Label must be ARCH_YYYYYMM. Right now it's working on harcoded mode, i write it myself. This has to change accordingly to the arch-linux release.

Add more dependencies

After #1 are completed, more dependencies should be added.
Pacman:

  • tilda
  • conky
  • NTFS-3G (Needed to write to NTFS fs)

Aur:

  • Spotify
  • Sublime
  • ...

Hardware dependencies

This should be moved to toshiba-s50-b131-setup, on AUR_PKGS

The order of installation should be changed to fit these new requirements.

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.