{"id":26282127,"url":"https://github.com/arcbjorn/arc-arch-linux-installation-guide","last_synced_at":"2025-09-13T00:41:46.983Z","repository":{"id":41200602,"uuid":"371934193","full_name":"arcbjorn/arc-arch-linux-installation-guide","owner":"arcbjorn","description":"Arch linux installation guide (Wayland): btrfs, pipewire, sway, ly, wofi, waybar, dunst, foot","archived":false,"fork":false,"pushed_at":"2021-07-12T10:31:19.000Z","size":93,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T08:13:15.228Z","etag":null,"topics":["archlinux","btrfs","dunst","foot","ly","pipewire","waybar","wayland","zram"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arcbjorn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-29T09:40:43.000Z","updated_at":"2025-03-25T17:38:17.000Z","dependencies_parsed_at":"2022-08-26T19:11:38.652Z","dependency_job_id":null,"html_url":"https://github.com/arcbjorn/arc-arch-linux-installation-guide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-arch-linux-installation-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-arch-linux-installation-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-arch-linux-installation-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-arch-linux-installation-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arcbjorn","download_url":"https://codeload.github.com/arcbjorn/arc-arch-linux-installation-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252839296,"owners_count":21812090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archlinux","btrfs","dunst","foot","ly","pipewire","waybar","wayland","zram"],"created_at":"2025-03-14T16:39:28.128Z","updated_at":"2025-05-07T08:13:21.688Z","avatar_url":"https://github.com/arcbjorn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arch linux installation guide\n\nThis guide is a convenient combination of [Offical Arch Linux Installation Guide](https://wiki.archlinux.org/title/Installation_guide) and [Ermanno's amazing guide](https://gitlab.com/eflinux/arch-basic).\n\n**Important:** This is an installation with the latest \u0026 greatest tools available (2021). For more robust installation (Xorg, Swap partition, etc.), please refer to my robust [Arch linux installation guide](https://github.com/arcbjorn/arc-robust-arch-linux-installation-guide).\n\n### Minimal archlinux installation\n\n1-11 steps\n\n- [BTRFS filesystem](https://btrfs.wiki.kernel.org/index.php/Main_Page)\n- [ZRAM](https://en.wikipedia.org/wiki/Zram)\n- [Pipewire](https://pipewire.org/)\n- [Wayland](https://wayland.freedesktop.org/)\n\n### For full Desktop GUI\n\n12 step\n\nMinimal Desktop GUI with native Wayland support installation:\n\n- [sway](https://github.com/swaywm/sway) (Window manager)\n- [ly](https://github.com/nullgemm/ly) (Login manager)\n- [firefox-developer-edition](https://www.mozilla.org/en-US/firefox/developer/) (Mozilla Firefox browser)\n- [wofi](https://hg.sr.ht/~scoopta/wofi) (App Launcher)\n- [lxappearance](https://archlinux.org/packages/community/x86_64/lxappearance/) (Theme customization for apps with GTK+ frontend)\n- [qt5ct](https://sourceforge.net/projects/qt5ct/) (Theme customization for apps with Qt frontend)\n- [python-pywal](https://github.com/dylanaraps/pywal) (Theme color generator)\n- [waybar](https://github.com/Alexays/Waybar) (Status bar)\n- [pcmanfm-qt](https://github.com/lxqt/pcmanfm-qt) (File manager)\n- [pass](https://www.passwordstore.org/) (Password manager)\n- [foot](https://codeberg.org/dnkl/foot) (Terminal emulator)\n- [neofetch](https://github.com/dylanaraps/neofetch) (CLI to display system specs)\n- [dunst](https://github.com/dunst-project/dunst) (System notifications manager)\n- [timeshift](https://github.com/teejee2008/timeshift) (System backup \u0026 restore tool)\n- [xorg-xwayland](https://wayland.freedesktop.org/xserver.html) (Compatibility layer between Xorg and Wayland)\n- [qt5-wayland](https://wiki.qt.io/QtWayland) (Compatibility layer between Qt and Wayland)\n- [swayidle](https://github.com/swaywm/swayidle) (Idle manager)\n- [swaylock-effects](https://github.com/mortie/swaylock-effects) (Screenlock)\n\n### Installation\n\n1. Boot from USB drive with Arch ISO\n\n2. Prepare the disk (partitions) - using GPT device\n\n```bash\n# check the disks\nlsblk\n\n# partition the disk - create GPT Labels\ngdisk /dev/***\n\n# choose new GPT Label command:\no\n\n# First Partition for EFI\n# choose new command:\nn\n# choose default partition number\n# choose default First Sector memory\n# choose Last Sector memory:\n+550M\n# enter the EFI partition code:\nef00\n\n# Second Partition for main SSD storage\n# choose new command\nn\n# choose default partition number\n# choose default First Sector memory\n# choose Last Sector memory:\n(remaining SSD space - 2 GB)G\n# choose default partition type (Linux Filesystem)\n\n# Choose \"write\" command to overwrite exiting partitions:\nw\n```\n\n3. Format partitions\n\n```bash\n# make fat32 filesystem for EFI\nmkfs.vfat /dev/***1\n# make butterFS filesystem for main storage\nmkfs.btrfs  /dev/***2\n```\n\n3. ButterFS configuration\n\n```bash\n# mount main partition - root subvolume\nmount  /dev/***2 /mnt\n\ncd /mnt\n# make btrFS subvolume for root subvolume\nbtrfs subvolume create @\n# make btrFS subvolume for home subvolume\nbtrfs subvolume create @home\n# make btrFS subvolume for var subvolume\nbtrfs subvolume create @var\n\ncd\n# unmount main partition - root subvolume\numount /mnt\n\n# mount root subvolume\nmount -o noatime, compress=zstd, space_cache,discard=async,subvol=@ /dev/***2 /mnt\n\n# directories var, home \u0026 var\nmkdir -p /mnt/boot/efi\nmkdir /mnt/{home,var}\n\n# mount home \u0026 var subvolumes\nmount -o noatime, compress=zstd, space_cache,discard=async,subvol=@home /dev/***2 /mnt/home\n\nmount -o noatime, compress=zstd, space_cache,discard=async,subvol=@var /dev/***2 /mnt/var\n```\n\n4. Mount EFI partition\n\n```bash\nmount /dev/***1 /mnt/boot/efi\n```\n\n5. Install the base system\n\n```bash\n# for amd processor: amd-ucode instead of intel-ucode\npacstrap /mnt base linux linux-firmware git vim intel-ucode btrfs-progs\n```\n\n6. Generate filesystem table\n\n```bash\ngenfstab -U /mnt \u003e\u003e /mnt/etc/fstab\n```\n\n7. Make new root directory with all mounts needed\n\n```bash\n# detach from main filesystem and process tree\narch-chroot /mnt\n\n# check the fs \u0026 table\nls\ncat /etc/fstab\n```\n\n8. Run base archlinux system intall script\n\n```bash\n# give exec permissions to script\ngit clone https://github.com/arcbjorn/arc-arch-linux-installation-guide\ncd arc-arch-linux-installation-guide\n# don't forget to change username \u0026 password to yours :)\nchmod +x base.sh\n\n# run from root filesystem\ncd /\n./arc-arch-linux-installation-guide/base.sh\n\n# choose xdr-desktop-portal-wlr (to use with Sway)\n```\n\n9. Check system init config\n\n```bash\nvim /etc/mkinitcpio.conf\n# if butterFS used on 2 disks - put \"btrfs\" parameter in MODULES\n# if amd or nvidia card is used - put \"amdgpu\" or \"nvidia\" parameters in MODULES accordingly\n\n# if config was changed, recreate initramfs:\nmkinitcpio -p linux\n```\n\n10. Finish base packages installation\n\n```bash\nexit\numount -a\nreboot\n```\n\n11. Install Desktop GUI \u0026 tools\n\n```bash\n# copy the guide from root filesystem to home repository\ncp -r /arc-arch-linux-installation-guide .\ncd /arc-arch-linux-installation-guide\n\n# give exec permissions to script\nchmod +x sway.sh\n\n# go back to home directory\ncd ..\n./arc-arch-linux-installation-guide/sway.sh\n```\n\n12. Configure ZRAM (used for SWAP)\n\n```bash\nparu -S zramd\nsudo systemctl enable --now zramd.service\n\n# check the block devices table\nlsblk\n\nreboot\n```\n\n### Enjoy your fresh system :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcbjorn%2Farc-arch-linux-installation-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcbjorn%2Farc-arch-linux-installation-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcbjorn%2Farc-arch-linux-installation-guide/lists"}