1
0
forked from extern/nix-config
donovanglover-nix-config/.archlinux/install-scripts
Donovan Glover f320b0c294
archlinux: Add single install script support
This commit makes it so that downloading the entire repository to run
the install scripts is no longer necessary.

It assumes that you have an active internet connection, which should be
a given since you need an internet connection to run pacstrap anyway.
2018-12-06 17:39:59 -05:00
..
001-preinstall archlinux: Use GiB by default during installation 2018-12-03 10:44:37 -05:00
002-install archlinux: Add rng-tools to initial package list 2018-12-04 01:56:31 -05:00
003-configure archlinux: Add fr_FR and ja_JP locales 2018-12-03 20:18:49 -05:00
004-postinstall archlinux: Add rng-tools to initial package list 2018-12-04 01:56:31 -05:00
install.sh archlinux: Add single install script support 2018-12-06 17:39:59 -05:00
README.md docs: Update install-scripts README 2018-12-04 15:15:47 -05:00

Install Scripts

Here are my Arch Linux install scripts. They are divided into 4 parts:

  1. Pre-install: Setting up the drive to install Arch on
  2. Install: Installing Arch Linux to that drive
  3. Configure: Writing some basic low-level config files
  4. Post-install: Post-install configuration

I use install.sh to call these scripts with the proper user-generated variables. (TODO: clone this repository to the newly created home directory and run any other post-install commands on first boot).

Note

: If you do not understand my install scripts, you should follow the Installation guide instead.

Usage

First, download the .files archive, like so:

wget https://github.com/GloverDonovan/.files/archive/master.zip

Then, install unzip and unzip the archive. Note that -Sy is used here since you don't want to update everything on the installation media, and unzip is unlikely to break in this case.

pacman -Sy unzip --noconfirm
unzip master.zip

Finally, run the install script:

./.files-master/.archlinux/install-scripts/install.sh