This is my personal repo to install Arch Linux. I am not an expert so don't blindy install and think you get an out-of-the-box vanilla Arch experience.
My installation consists out of packages I have a personal preference for. Use it as a demo or check out the source as an inspiration but it is probably not suitable as a daily operating system if you have no experience using and maintaining an Arch distro. In addition, my personal Dotfiles are also installed.
My arch.sh
installation script assumes you are installing Arch on a nvme ssd (nvme0n1). Find your own designated installation device by first looking it up via lsblk
. The disk path is still hardcoded in my arch.sh
script. So change that if your path differs.
- Grab the latest Arch iso from https://archlinux.org/.
- Write the image to a USB device:
sudo dd bs=4M if=arch.iso of=/dev/sdx conv=fdatasync status=progress
- Boot the Arch usb installer.
- I'm assuming you have an active internet connection if not: Arch Wiki - Connect to the Internet
curl https://raw.githubusercontent.com/avbel/arch-installation/main/arch.sh -o arch.sh
chmod +x arch.sh; ./arch.sh
- Follow the installation and after it's done it will automatically reboot to your Arch installation.
curl https://raw.githubusercontent.com/avbel/arch-installation/main/sway.sh -o sway.sh
chmod +x sway.sh; ./sway.sh
The AURnerds-fonts-complete
package is > 1GB and takes a long time to install so just wait.- Follow the installation and after it's done it will automatically reboot to the Sway window manager.
- Install Zramd aur package:
paru -S zramd
- Edit the config file at:
/etc/default/zramd
- Enable using:
sudo systemctl enable --now zramd.service
- Select “BTRFS” as the “Snapshot Type”; continue with “Next”
- Choose your BTRFS system partition as “Snapshot Location”; continue with “Next”
- “Select Snapshot Levels” (type and number of snapshots that will be automatically created and managed/deleted by Timeshift), recommendations:
- Keep “Daily” at 5
- Activate “Boot”, but change to 3
- Activate “Stop cron emails for scheduled tasks”
- Continue with “Next”
- I also include @home subvolume (which is not selected by default). Note that when you restore a snapshot Timeshift will ask you again whether or not to include @home in the restore process.
- Click “Finish”
- “Create” your first snapshot manually and exit Timeshift.