Automating the Arch Linux install process
- This script tries not to go much beyond the Arch Linux installation guide and will leave you with a quite minimal bootable system (no GUI included). For further configuration automation, take a look at my configuration repo.
- Currently this script is only set up for non-encrypted systems with 3 partitions (EFI, swap, root).
- GRUB will be installed as the bootloader.
- NetworkManager will be installed and enabled to be able to connect to the internet after a reboot (
nmtuiin the terminal for a graphical wifi tool). - Sudoers
Defaults targetpwandALL ALL=(ALL) ALLwill be set. - The mirrorlist will be overwritten with the 50 most recently synchronized HTTPS mirrors, sorted by download rate.
- The base-devel group and git will be installed.
- The finished installation will be in English (Canada).
- A user will be created.
-
Set up an installation medium:
a) https://wiki.archlinux.org/index.php/installation_guide#Acquire_an_installation_image
b) https://wiki.archlinux.org/index.php/installation_guide#Verify_signature
c) https://wiki.archlinux.org/index.php/installation_guide#Prepare_an_installation_medium -
Boot the live environment (Afterwards you may also set the keyboard layout for ease of use)
-
Verify the boot mode if you aren't sure it is UEFI
-
Install git:
pacman -Sy git -
Clone this repository into its own directory:
git clone https://github.com/spfaus/arch-install.git -
Execute the install script contained in the repository:
./arch-install/install.sh
base
base-devel
linux
linux-firmware
man-db
man-pages
texinfo
grub
efibootmgr
networkmanager
git
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>