nix-config/.archlinux/install-scripts
Donovan Glover 0be668443e
archlinux: Clone this repository to the user's $HOME
This makes it easier to immediately start using dotfiles and other
config settings on first boot. It may even be useful to add an option
to run the entire bootstrap script in the installation media. Note that
if this route is taken, some assumptions regarding installation will
have to be changed to adjust for the chroot environment.
2018-12-06 18:27:33 -05:00
..
001-preinstall archlinux: Use GiB by default during installation 2018-12-03 10:44:37 -05:00
002-install archlinux: Clone this repository to the user's $HOME 2018-12-06 18:27:33 -05:00
003-configure archlinux: Add fr_FR and ja_JP locales 2018-12-03 20:18:49 -05:00
004-postinstall archlinux: Clone this repository to the user's $HOME 2018-12-06 18:27:33 -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