Skip to content

A few questions about maintenance/performance tweaking before I wipe out my Windows for Arch

I must've installed Arch a dozen or more times by now on my various laptops or side partitions on my main machine. Recently I made some breakthroughs in getting my favorite games/software running on Arch, meaning I have basically no reason to use Windows anymore.

I've yet to make the switch on my main partition because I'm unsure of a few maintenance-related questions that could worsen over time if I don't take care of them the right way from the get-go, so here they are:

  1. I need a way to make, store and load system backups, being able to restore backups from the cli / emergency boot, if need be. What tools are the best for this? The wiki recommends snapper, LVM, rsync... what do you use and why? And I guess I should just keep a boot USB on hand to chroot in and fix my shit, in the case of some catastrophic failure? I can worry about setting up a home server for media backups and so on later.

  2. I've been installing AUR packages the old-fashioned way by just git cloning them into an AUR folder in my home directory. It's my understanding however that pacman doesn't update packages installed this way, I'd have to clone the repositories again, makepkg, and so on for each one. Do AUR-helpers do this for you? I've put off getting one thus far because I don't really need one and the 'meta' one to use seems to change every week, but if they can update your AUR packages together I think it might be worth trying one.

  3. I've heard the zen-kernel boosts performance for editing software, and proton/wine stuff. I've never used anything but the base Linux kernel, and I don't know what kind of issues switching over might introduce. Should I just use the zen kernel from beginning on my new install? Anything I should know?

25 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
25 · 100% up
Kind
Text
ID
ops1f4

Author

1
posts
0
comments
0
media
View profile

8 comments

  1. Look up btrfs snapshots + i also have live usb in case of emergencies
  2. i'd suggest using a aur helper like paru or yay...(these 2 are basically the same, tho i like paru)
  3. U can switch kernel whenever u want , also it isnt hard installing a new kernel , u can just paru -S linux-zen. Also , id say try out liquorix and xanmod kernels as well and see which ones gives the most performance
13 points
  1. BTRFS snapshots. Although I'm only using that if I'm doing something I might regret with my system.

  2. You can burn archiso directly to small partition, right after ESP. It's doesn't need to be updated often, you'll most likely be using chroot to fix things.

  3. paru is good. Yes it automatically updates AUR packages. It's more of a pacman wrapper though - meaning you're supposed to use it instead of pacman and it'll do everything.

  4. Zen kernel noticeably improves responsiveness under load thanks to different scheduler. There are lots of other tweaks, but scheduler is usually why I install linux-zen. Same install process. If you have out of tree drivers (like nvidia), install dkms version

9 points
  1. Btrfs as mentioned in other comments.
  2. U can use paru or yay, but I personally like GUI tools, so I use pamac-all. U can tick a few checks to easily install from AUR, community, multilib, etc, as well as flatpaks and snaps.
  3. U don't have to worry bout it in setup, but yeah, linux-zen is great for laptops, and wut I personally use.
6 points

1, rsync following Arch wiki article on full system backup, you can also restore it from a live usb of another distribution without chroot (Manjaro, Ubuntu etc.)

  1. I install and manage AUR packages the old way (I only have 7 installed), just created an executable script to git pull in every folder of the installed packages and then if there are updates makepkg. Once a week I run the script.

  2. Just try, install linux-zen along with linux and/or linux-lts.

3 points
  1. btrfs + snapper, additionally rsync on external disk in case your setup is so fricked up you can't access the snaps any more
  2. paru does that, it is also a pacman wrapper. Update all your stuff by paru -Syu - including your AUR packages.
  3. You can install several kernels and choose from your boot menu.
2 points
  1. btrfs + manual snapshots for me. Snapper (developed by openSUSE as a tool to manage btrfs snapshots) is nice but does not offer much you couldn't do yourself with less than a handful of uncomplicated cli commands. There are other options of course (Timeshift for example does snapshots by using btrfs commands if available or reverts to rsync for other file systems)...
  2. Yes, AUR helper usually do this automatically for you. You start the update and and the helper pipes this to pacman first for your regular packages, then checks the AUR and does the git cloning, package building and installing for updated AUR packages.
  3. linux-zen is a tweaked kernel for improved desktop performance. As it's actually build to improve responsiveness under load it rarely improves raw performance of single processes. On the contrary it may run slightly slower because it keeps enough ressources available to you to switch to other applications and multi-task. What linux-zen does for proton/wine is fsync support. Esync is already a big performance improvement for many wine applications, fsync is often even faster but needs a special patched versions of your kernel. linux-zen supports fsync out-of-the-box... Installing additioal kernels is easy, you just chose which one to use at boot. For this reason many have two installed, the one they normally use and a backup (often the regular kernel or lts). The one single thing you should plan ahead is the size of your /boot. IIRC the installation suggests at least 260MB. This maybe be enough for 2-3 kernels side by side. But disk space is so cheap nowadays that it doesn't hurt to up that number, if you plan to test a lot without constantly replacing working ones.
2 points
unknown author

As for 2 a air helper will auto update for you. I recommend paru but make sure you install paru-bin otherwise it installs rust yo compile it each update which is a waste of space if you don't need it for anything else.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.