- Notifications
You must be signed in to change notification settings - Fork5
arcbjorn/arc-arch-linux-installation-guide
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This guide is a convenient combination ofOffical Arch Linux Installation Guide andErmanno's amazing guide.
Important: This is an installation with the latest & greatest tools available (2021). For more robust installation (Xorg, Swap partition, etc.), please refer to my robustArch linux installation guide.
1-11 steps
12 step
Minimal Desktop GUI with native Wayland support installation:
- sway (Window manager)
- ly (Login manager)
- firefox-developer-edition (Mozilla Firefox browser)
- wofi (App Launcher)
- lxappearance (Theme customization for apps with GTK+ frontend)
- qt5ct (Theme customization for apps with Qt frontend)
- python-pywal (Theme color generator)
- waybar (Status bar)
- pcmanfm-qt (File manager)
- pass (Password manager)
- foot (Terminal emulator)
- neofetch (CLI to display system specs)
- dunst (System notifications manager)
- timeshift (System backup & restore tool)
- xorg-xwayland (Compatibility layer between Xorg and Wayland)
- qt5-wayland (Compatibility layer between Qt and Wayland)
- swayidle (Idle manager)
- swaylock-effects (Screenlock)
Boot from USB drive with Arch ISO
Prepare the disk (partitions) - using GPT device
# check the diskslsblk# partition the disk - create GPT Labelsgdisk /dev/***# choose new GPT Label command:o# First Partition for EFI# choose new command:n# choose default partition number# choose default First Sector memory# choose Last Sector memory:+550M# enter the EFI partition code:ef00# Second Partition for main SSD storage# choose new commandn# choose default partition number# choose default First Sector memory# choose Last Sector memory:(remaining SSD space - 2 GB)G# choose default partition type (Linux Filesystem)# Choose "write" command to overwrite exiting partitions:w
- Format partitions
# make fat32 filesystem for EFImkfs.vfat /dev/***1# make butterFS filesystem for main storagemkfs.btrfs /dev/***2
- ButterFS configuration
# mount main partition - root subvolumemount /dev/***2 /mntcd /mnt# make btrFS subvolume for root subvolumebtrfs subvolume create @# make btrFS subvolume for home subvolumebtrfs subvolume create @home# make btrFS subvolume for var subvolumebtrfs subvolume create @varcd# unmount main partition - root subvolumeumount /mnt# mount root subvolumemount -o noatime, compress=zstd, space_cache,discard=async,subvol=@ /dev/***2 /mnt# directories var, home & varmkdir -p /mnt/boot/efimkdir /mnt/{home,var}# mount home & var subvolumesmount -o noatime, compress=zstd, space_cache,discard=async,subvol=@home /dev/***2 /mnt/homemount -o noatime, compress=zstd, space_cache,discard=async,subvol=@var /dev/***2 /mnt/var
- Mount EFI partition
mount /dev/***1 /mnt/boot/efi
- Install the base system
# for amd processor: amd-ucode instead of intel-ucodepacstrap /mnt base linux linux-firmware git vim intel-ucode btrfs-progs
- Generate filesystem table
genfstab -U /mnt>> /mnt/etc/fstab
- Make new root directory with all mounts needed
# detach from main filesystem and process treearch-chroot /mnt# check the fs & tablelscat /etc/fstab
- Run base archlinux system intall script
# give exec permissions to scriptgit clone https://github.com/arcbjorn/arc-arch-linux-installation-guidecd arc-arch-linux-installation-guide# don't forget to change username & password to yours :)chmod +x base.sh# run from root filesystemcd /./arc-arch-linux-installation-guide/base.sh# choose xdr-desktop-portal-wlr (to use with Sway)
- Check system init config
vim /etc/mkinitcpio.conf# if butterFS used on 2 disks - put "btrfs" parameter in MODULES# if amd or nvidia card is used - put "amdgpu" or "nvidia" parameters in MODULES accordingly# if config was changed, recreate initramfs:mkinitcpio -p linux
- Finish base packages installation
exitumount -areboot
- Install Desktop GUI & tools
# copy the guide from root filesystem to home repositorycp -r /arc-arch-linux-installation-guide.cd /arc-arch-linux-installation-guide# give exec permissions to scriptchmod +x sway.sh# go back to home directorycd .../arc-arch-linux-installation-guide/sway.sh
- Configure ZRAM (used for SWAP)
paru -S zramdsudo systemctlenable --now zramd.service# check the block devices tablelsblkreboot
About
Arch linux installation guide (Wayland): btrfs, pipewire, sway, ly, wofi, waybar, dunst, foot
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.