- Shell 100%
| icons | ||
| .gitattributes | ||
| .gitignore | ||
| Apps-Arch-Repo.md | ||
| Apps-User-Repo.md | ||
| arch-install-gumby-2.sh | ||
| arch-install-gumby-3.sh | ||
| arch-install-gumby.sh | ||
| configuration.md | ||
| README.md | ||
| Themes-Fonts.md | ||
BAD Gumby's base install of Arch
██████╗ █████╗ ██████╗ ██████╗ ██╗ ██╗███╗ ███╗██████╗ ██╗ ██╗███████╗
██╔══██╗██╔══██╗██╔══██╗ ██╔════╝ ██║ ██║████╗ ████║██╔══██╗╚██╗ ██╔╝██╔════╝
██████╔╝███████║██║ ██║ ██║ ███╗██║ ██║██╔████╔██║██████╔╝ ╚████╔╝ ███████╗
██╔══██╗██╔══██║██║ ██║ ██║ ██║██║ ██║██║╚██╔╝██║██╔══██╗ ╚██╔╝ ╚════██║
██████╔╝██║ ██║██████╔╝ ╚██████╔╝╚██████╔╝██║ ╚═╝ ██║██████╔╝ ██║ ███████║
╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚══════╝
█████╗ ██████╗ ██████╗██╗ ██╗ ███████╗████████╗ █████╗ ██╗ ██╗ ███████╗██████╗
██╔══██╗██╔══██╗██╔════╝██║ ██║ ██╔════╝╚══██╔══╝██╔══██╗██║ ██║ ██╔════╝██╔══██╗
███████║██████╔╝██║ ███████║█████╗███████╗ ██║ ███████║██║ ██║ █████╗ ██████╔╝
██╔══██║██╔══██╗██║ ██╔══██║╚════╝╚════██║ ██║ ██╔══██║██║ ██║ ██╔══╝ ██╔══██╗
██║ ██║██║ ██║╚██████╗██║ ██║ ███████║ ██║ ██║ ██║███████╗███████╗███████╗██║ ██║
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝
WARNING
This script was created by BAD Gumby for his own install. The very first step is wiping your storage device. If you use it, be sure to backup your data before starting the script. BAD Gumby takes no responsibility for lost data or damage to your device.
Files
Apps-Arch-Repo.md
Table of apps that will be installed from the official Arch repository if you use BAD Gumby's defaults
Apps-User-Repo.md
Table of apps that will be installed from the Arch user repository (AUR) if you use BAD Gumby's defaults
arch-install-gumby(-2/3).sh
What you came to see
configuration.md
Contains the common configuration changes that I make on a fresh install
"icons" folder
Contains icons I commonly use
README.md
Uh... you're looking at it
Preparing to run the script
-
Download the archiso image from https://www.archlinux.org/
-
Copy to a usb-drive. If on linux use the below command:
dd if=archlinux.img of=/dev/sdX bs=16M && sync
-
Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
-
Setup network connections
For Wired LAN, use
systemctl start dhcpcd@eth0.serviceFor Wireless LAN, use
wifi-menu
Executing the script
bash <(curl -s --tlsv1.2 --request GET "https://raw.githubusercontent.com/badgumby/arch-linux-install/master/arch-install-gumby.sh")
What does this script do? In order:
-
Prompts for system type (EFI or BIOS)
Note: BIOS setup is still a work-in-progress. DO NOT USE BIOS OPTION.
-
Format and partitions your hard drive
-
EFI Formatting
Partition Size Type Format 1 200 MB EFI (ef00) FAT32 2 500 MB Linux File System (8300) EXT2 3 Remainder + Linux File System (8300) LUKS (aes-xts-plain64) logical volume group (vg0) vg0-swap 8 GB n/a swap on vg0 vg0-root Remainder + n/a EXT4 on vg0 -
BIOS Formatting
Partition Size Type Format 1 10 MB MBR (ef02) FAT32 2 250 MB Linux File System (8300) EXT2 3 Remainder + Linux File System (8300) LUKS (aes-xts-plain64) logical volume group (vg0) vg0-swap 8 GB n/a swap on vg0 vg0-root Remainder + n/a EXT4 on vg0
-
-
Run
pacstrap(base install) based on choice of system. Packages listed below:-
EFI:
base base-devel grub-efi-x86_64 efibootmgr linux-headers zsh vim wget git dialog wpa_supplicant reflector
Note: base is the required minimum for install, and base-devel is recommended.
-
BIOS:
base base-devel grub-bios linux-headers zsh vim wget git dialog wpa_supplicant reflector
Note: base is the required minimum for install, and base-devel is recommended.
-
-
Generate /etc/fstab
-
Make a tmpfs for /tmp (used by installer)
-
Download second script
arch-install-gumby-2.sh -
Chroot into new system
arch-chroot /mnt /bin/bash /root/arch-install-gumby-2.sh -
Set time zone
-
Set hostname
-
Enable
en_US.UTF-8 locale, and generate locale -
Set
rootpassword -
Create new user, set shell, and add to
wheelgroup -
Configure initrd MODULES
-
Default:
ext4 -
Custom:
Enter modules separated by spaces
-
-
Configure initrd BINARIES
-
Default:
none -
Custom:
Enter binaries separated by spaces
-
-
Configure initrd FILES
-
Default:
none -
Custom:
Enter files separated by spaces
-
-
Configure initrd HOOKS
-
Default:
base udev autodetect modconf block keyboard encrypt lvm2 filesystems fsck -
Custom:
Enter hooks separated by spaces
-
-
Generate initrd image
-
Run initial
grub-install, edit grub config for cryptdevice boot, then rungrub-mkconfig -
Enable Arch
[multilib]repo -
Run
reflectorto update mirrors based on sync, location, and sort by download speed -
Intialize
pacman-key -
Install packages from Arch official repository
-
BAD Gumby's default packages:
-
Custom:
Enter packages separated by spaces
-
-
Download third script
arch-install-gumby-3.sh
- Switch into newly created user
su -p $MYUSERNAME /home/${MYUSERNAME}/arch-install-gumby-3.sh
-
Download and install
yayArch user repository helper and pacman wrapper -
Prompt to install System76 drivers/modules (installed from AUR)
-
Packages
system76-driver system76-dkms-git system76-wallpapers
-
-
Install packages from Arch user repository
-
BAD Gumby's default packages:
-
Custom:
Enter packages separated by spaces
-
-
Enable services
sytemctl enable *after packages have been installed
Enter services separated by spaces
-
Prompt to install BAD Gumby's favorite themes/fonts
-
Packages:
-
-
Prompt to reboot