Giter Site home page Giter Site logo

danielbodnar / arch-install Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wrzlbrmft/arch-install

0.0 2.0 0.0 157 KB

A highly configurable script automatically installing Arch Linux.

Home Page: https://www.archlinux.org/

License: GNU General Public License v3.0

Shell 100.00%

arch-install's Introduction

arch-install

A highly configurable script installing Arch Linux.

Feature Highlights

You should look into the configuration file arch-install.conf -- almost everything is configurable...

Quick Start

(For a more detailed usage guide scroll down.)

Boot the Arch Linux ISO image and type in:

curl -L https://github.com/wrzlbrmft/arch-install/archive/master.tar.gz | tar zxvf -
arch-install-master/arch-install.sh

CAUTION: The installation will delete all existing data on the installation device including all other partitions and operating systems on it.

After a while, reboot and enjoy!

Usage Guide

Start by downloading(, burning) and booting the latest Arch Linux ISO image.

After the auto-login as root, you can load an alternative keyboard layout, e.g. German:

loadkeys de-latin1

(on German keyboards: for y press z, for - press รŸ)

Make sure you have a working internet connection:

ping -c 3 8.8.8.8

To connect to a wireless network use:

wifi-menu

Next, download and unpack the arch-install repository:

curl -L https://github.com/wrzlbrmft/arch-install/archive/master.tar.gz | tar zxvf -
arch-install-master/arch-install.sh

You may want to change the default configuration:

nano -w arch-install-master/arch-install.conf

NOTE: If you are installing into a VirtualBox VM, make sure to set both INSTALL_VIRTUALBOX_GUEST and ENABLE_MODULES_VIRTUALBOX_GUEST to yes and maybe ENABLE_MODULES_VIRTUALBOX_HOST to no.

see also: Configuration/Most Important Settings

Finally, start the installation process:

arch-install-master/arch-install.sh

CAUTION: The installation will delete all existing data on the installation device including all other partitions and operating systems on it.

NOTE: For both the root and main user, and also if you enabled the LVM-on-LUKS encryption, you will have to type in some passwords during the installation process.

Depending on your computer and internet connection speed, installing the defaults takes about 60 minutes (downloading 1.8 GB) and uses 11.1 GB of the installation device.

The installation is done, once you see

[arch-install] Wake up, Neo... The installation is done!

Finally, reboot your machine:

reboot

That's it!

Configuration

Eventually, I will add more comments to arch-install.conf soon... :-)

Most Important Settings

INSTALL_DEVICE

Default: /dev/sda

Definitely the most important setting: where to install Arch Linux.

CAUTION: The installation will delete all existing data on the installation device including all other partitions and operating systems on it.

BOOT_METHOD

Value: legacy (default) or efi

Boot method to be used: legacy for BIOS boot, efi for EFI/UEFI boot. This affects the boot loader configuration.

LVM_ON_LUKS

Value: yes or no (default)

Whether to install an LVM-on-LUKS encrypted system. For more information, start reading on Wikipedia about LUKS and dm-crypt.

ADD_MAIN_USER

Value: yes (default) or no

Whether to add a main user. If set to yes, have a look at the MAIN_USER_USERNAME and MAIN_USER_REALNAME settings.

CAUTION: The installation process highly depends on the creation of a main user (for basically everything being installed by yaourt). Disable at your own risk!

MAIN_USER_USERNAME, MAIN_USER_REALNAME

If ADD_MAIN_USER is set to yes, a main user will be created. Use these two settings to configure its username and the user's realname.

Using an Alternative Configuration File

You can use an alternative configuration file by passing it to the installation script:

arch-install-master/arch-install.sh -c my.conf

License

This software is distributed under the terms of the GNU General Public License v3.

arch-install's People

Contributors

wrzlbrmft avatar

Watchers

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