{"id":26282134,"url":"https://github.com/arcbjorn/arc-robust-arch-linux-installation-guide","last_synced_at":"2025-05-07T08:13:21.045Z","repository":{"id":124770413,"uuid":"372900594","full_name":"arcbjorn/arc-robust-arch-linux-installation-guide","owner":"arcbjorn","description":"Arch linux installation guide (Xorg): btrfs, pipewire, i3-gaps, lightdm, rofi, dunst, kitty, polybar","archived":false,"fork":false,"pushed_at":"2021-06-06T15:47:25.000Z","size":15,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T08:13:15.276Z","etag":null,"topics":["archlinux","btrfs","dunst","i3-gaps","kitty","lightdm","pipewire","polybar","rofi"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-01T16:47:01.000Z","updated_at":"2024-11-01T19:35:06.000Z","dependencies_parsed_at":"2023-07-03T08:45:48.659Z","dependency_job_id":null,"html_url":"https://github.com/arcbjorn/arc-robust-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-robust-arch-linux-installation-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-robust-arch-linux-installation-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-robust-arch-linux-installation-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcbjorn%2Farc-robust-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-robust-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","i3-gaps","kitty","lightdm","pipewire","polybar","rofi"],"created_at":"2025-03-14T16:39:28.810Z","updated_at":"2025-05-07T08:13:21.039Z","avatar_url":"https://github.com/arcbjorn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arch linux installation guide (robust)\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 for a robust Archlinux system. For more intresting installation (Wayland, ZRAM, etc.), please refer to my [Arch linux installation guide](https://github.com/arcbjorn/arc-arch-linux-installation-guide) with the latest \u0026 greatest tools available (2021).\n\n### Minimal archlinux installation\n\n1-10 steps\n\n- [BTRFS filesystem](https://btrfs.wiki.kernel.org/index.php/Main_Page)\n- [Pipewire](https://pipewire.org/)\n\n### For full Desktop GUI\n\n11 step\n\nMinimal Desktop GUI installation (Xorg):\n\n- [i3-gaps](https://github.com/Airblader/i3) (Window manager)\n- [lightdm](https://github.com/canonical/lightdm) (Login manager)\n- [picom](https://github.com/yshui/picom) (Window compositor)\n- [rofi](https://github.com/davatorium/rofi) (App Launcher)\n- [dunst](https://github.com/dunst-project/dunst) (System notifications manager)\n- [lxappearance](https://archlinux.org/packages/community/x86_64/lxappearance/) (Theme customization)\n- [python-pywal](https://github.com/dylanaraps/pywal) (Theme color generator)\n- [nitrogen](https://github.com/l3ib/nitrogen) (Wallpaper manager)\n- [pcmanfm-qt](https://github.com/lxqt/pcmanfm-qt) (File manager)\n- [pass](https://www.passwordstore.org/) (Password manager)\n- [kitty](https://github.com/kovidgoyal/kitty) (Terminal emulator)\n- [neofetch](https://github.com/dylanaraps/neofetch) (CLI to display system specs)\n\n- [polybar](https://github.com/polybar/polybar) (Status bar)\n- [betterlockscreen](https://github.com/pavanjadhaw/betterlockscreen) (Lockscreen)\n- [timeshift](https://github.com/teejee2008/timeshift) (System backup \u0026 restore tool)\n- [firefox-developer-edition](https://www.mozilla.org/en-US/firefox/developer/) (Mozilla Firefox browser)\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# 1st Partition for EFI\n# choose new GPT Label command:\no\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# 2nd 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+2G\n# enter the Linux swap partition code:\n8200\n\n# 3d Partition for main SSD storage\n# choose new command\nn\n# choose default partition number\n# choose default First Sector memory\n# choose default Last Sector memory\n# choose default partition type (Linux Filesystem)\n\n# Choose \"write\" command to overwrite exiting partitions:\nw\n```\n\n3. Format partitions (create filesystems)\n\n```bash\n# make fat32 filesystem for EFI\nmkfs.fat -F32 /dev/***p1\n\n# make linux swap filesystem Swap\nmkswap /dev/***p2\nswapon /dev/***p2\n\n# make butterFS filesystem for main storage\n# -f if needed\nmkfs.btrfs  /dev/***p3\n```\n\n3. ButterFS configuration\n\n```bash\n# mount main partition - root subvolume\nmount  /dev/***p3 /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/***p3 /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/***p3 /mnt/home\n\nmount -o noatime,compress=zstd,space_cache,discard=async,subvol=@var /dev/***p3 /mnt/var\n```\n\n4. Mount EFI partition\n\n```bash\nmount /dev/***1 /mnt/boot/efi\n```\n\n5. Install the base linux packages\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\n# -U : use UUIDs of block devices\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-robust-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-robust-arch-linux-installation-guide/base.sh\n\n# choose xdr-desktop-portal-gtk (to use with i3wm)\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-robust-arch-linux-installation-guide .\ncd /arc-robust-arch-linux-installation-guide\n\n# give exec permissions to script\nchmod +x i3wm.sh\n\n# go back to home directory\ncd ..\n./arc-robust-arch-linux-installation-guide/sway.sh\n\nreboot\n```\n\n### Enjoy your fresh system :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcbjorn%2Farc-robust-arch-linux-installation-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcbjorn%2Farc-robust-arch-linux-installation-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcbjorn%2Farc-robust-arch-linux-installation-guide/lists"}