Skip to content

snackk/arch-installation

Repository files navigation

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