For reference: Arch Wiki Installation Guide
For reference: YouTube Tutorial
- Get bootable USB
- File for install
- Windows
- Rufus
- Use DD mode
- Linux
dd bs=4M if=/path/to/archlinux.iso of=/dev/FLASHDRIVE status=progress && sync
- Boot into the USB
- Download the script
wget -O install.sh https://github.com/raw/ThatGuyNamedTim/ArchLinuxInstall/master/install.sh
* I would suggest using https://goo.gl/ to shorten the URL
- Run the script
chmod u+x install.sh
./install.sh
- Unmount the Install and reboot (after rebooting, the USB can be removed)
umount -R /mnt
reboot -n
- Login to the system and run the user personalize if desired. Before running
the script, open a terminal, go to Edit>Profile Preferences and change the
profile name to one-dark
- To open a terminal press the super key and search for terminal
wget -O userPersonalize.sh https://github.com/raw/ThatGuyNamedTim/ArchLinuxInstall/master/userPersonalize.sh
chmod u+x userPersonalize.sh
./userPersonalize.sh
rm userPersonalize.sh
- Note if installing in a virtual machine with limited RAM or swap space you will need to edit //etc/yaourtrc to use a different TMPDIR to prevent running out of space
____
- If installiing on system with another OS already, you will need to delete the code that is refered to with:
# Clear partition table
and hardcode the values for bootPartitionID and encryptedPartitionID - f12 to select bootable USB
- Partition drive
- Encrypt the drive with [dm-crypt]https://wiki.archlinux.org/index.php/dm-crypt
- LVM on LUKS
- Format the partitions
- The EFI
- The Encrypted drive
- Reboot
- Swap
- Mount partitions
- Set up mirrors
- Install base packages
- Generate fstab
- Enter Install
- This will run rootPersonalize.sh
- Set the language/location/clock/hostname...
- Change mkinitcpio for [dm-crypt]https://wiki.archlinux.org/index.php/dm-crypt and generate
- Settings for ssd
- Make password for root and add user
- Set up boot
- Set up network
- Install software
- Optimize Battery with [Powertop]https://wiki.archlinux.org/index.php/powertop
- Download software
- Settings for desktop
- Set up github
- Add some settings for [GNOME]https://wiki.archlinux.org/index.php/GNOME
- Set theme for terminal
- Download theme for vim
- Change settings via dconf
- Set theme for vim
- Update terminal colors so vim matches