Skip to content

u/Hitife80

In this archive from Aug 2016 to Dec 2022

2
posts
391
comments
2
media
1.6k
score

While I have Arch running on some of my machines for a better part of the decade, I do fresh installs now and then:

  1. Things change. While I am reluctant to change pulse audio to pipewire or wpa_supplicant to iwd on a machine that is running smoothly, on a new install I'll try to use latest and greatest.

  2. During fresh install I can verify that all important configs are in .dotfiles and all scripts that I use consistently are packaged in AUR or my private repo.

  3. I keep a set of notes during installation and every time I update / improve these notes - always learn something new.

  4. On new installs I always end up installing fewer stuff and get rid of legacy / unused packages. There is nothing quite like the smell of a freshly installed Arch.

My 2c.

5 points

but you need to catch it through that

You mean connect to a specific wifi? You do that on your host machine. Once connected on the host, it automatically uses new network. VM bridges its connection to your laptop's. You don't need wifi in VM unless you are testing some hardware that you passed through.

1 points

Most drivers are in Linux kernel. The ones that are not can be installed in the same way as any regular package. Arch Wiki will tell you exactly which packages you need for your specific system. You may have to do some research to pick an option that you prefer - feel free to ask specific questions here and on Arch Forums. Separate "driver installation tools" are a solution for a problem that doesn't exist.

5 points

I am not sure about parted. gparted does shrink both, filesystems and partition. There are tools in ntfs*someting package that can shrink ntfs. It actually works better than doing it from windows - i was able to get more space and it moved the swap too. It is a miracle what you can achieve when windows is not running :-)

P.S.: There is also clonezilla on Arch ISO. I'd probably use that instead of rsync.

1 points

Install Arch on btrfs. Make pacman hooks to take snapshot before and after update. If you update Arch and something is not working, and you have a deadline, just reboot into pre-update snapshot and keep working.

Also it is easy to create bootable snapshots specifically for testing, installing software you are not sure about, or just software for a quick project. Once done - delete snapshot and forget about it. Your main system is untouched and stable.

Also have a look at systemd-nspawn - quickly spin up environments for testing, compiling, trying things out - but no need to reboot :-). Not sure about that sketchy python package - systemd-nspawn your root in subvolume and try it out (see manpage). Shit went sideways - shutdown the container, delete subvolume, try again...

Arch is awesome for development. You can do none of the above under windows. Whenever I have to work / dev on windows I am physically uncomfortable.

1 points

What happens when you edit dotfiles? You have to remember to rebuild the package and publish it. What if you change something here and something there? With git it is a simple merge, fully automatic most of the time. With pacman you are bound to loose changes if you forget to rebuild the package while in the middle of something.

I use plain git bare repo and sparse checkout on different machines (branches are overkill). I am yet to find something simpler and easier to use.

Where I found pacman indispensable - I am packaging most of my shell, python and other scripts as separate tools in a private repo. This keeps the ~/.local/bin nice and tidy and I install only stuff that I actually use. For everything else there is git.

5 points

Snaps are ok where they are truly needed (not the best, but ok because making all deps to work is hard). But in most cases - 95% + it is the wrong tool for the right job.

P.S.: Didn't Canonical slow down, if not completely stopped, working on improving snaps?

1 points

No one was able to explain it on forums or here. The problem seems to be with some systemd constraints in reflector systemd unit file. Developer added all those following some kind of best practice, but that screws up DNS name resolution when running reflector as a unit. None of the other programs or daemons had any issues in my case.

Only after I created a link to stub as described on wiki the unit file started working.

https://wiki.archlinux.org/title/Systemd-resolved#DNS

If anyone knows exactly what is going on here - please share.

3 points

filling users' homes with the usual idiotic default directories (Videos, Music, Pictures, Templates, Downloads, etc.)

Well, less tech savvy users appreciate it because they are met with friendly folders when trying to save a document or download a file.

That said, I think a few programs look for default Photos or Downloads folder when you try to open or save a file. Not crucial, but not as wide-spread as it is under windows. there are also default icons in all icon packs for these folders.

3 points

Just to add what others have already mentioned - there is nothing wrong with just using Arch as a well functioning desktop system.

That said, I'd always get interested in random things that I find useful: btrfs on root, bootable snapshots, make my package for stuff I use often, take over maintenance of a package that I use that became orphan in AUR, help someone out on the forum or reddit... There are plenty of learning opportunities if you find your experience lacking. You don't have to do this, but you can if you want to and wiki and community will make it a pleasant and rewarding experience.

Enjoy your Arch and pick your poison: be a happy user - absolutely nothing wrong with that, or dive in and see how deep the rabbit hole goes...

1 points

Alacritty is my overall preference. The only small beef I have with it is that you can't use Ctrl-Space (my tmux leader key) under Windows at work. Everywhere else I am on Linux, so this is not an issue.

1 points

I am not sure on this one. When I was switching to paru - it updated all packages installed by yay no problem. Both probably just check version of PKGBUILD and package currently installed. So even that should "just work" with the new AUR helper.

1 points

Any program installed with Yay can be uninstalled with...

pacman

All AUR helpers do is run PKGBUILD to build a package. After that it is all pacman.

P.S.: and my vote goes to paru as well - lean, mean, safe Rusty goodness!

8 points

You'd follow standard installation guide to do that where target partition is that small partition you created.

The main challenge will probably be setting up a boot loader on the main system to see your Arch partition and provide a menu item for booting from it. GRUB will definitely work - it allows to specify different disks / partitions to boot from in both BIOS and UEFI modes. If your system is UEFI, you may find reFINd a more convenient choice.

You also say that this is a "separate" disk. If it is not the one you boot from - you may install Arch in a regular way and just use UEFI/BIOS startup menu to choose disk and OS that you boot.

You may want to try installing Arch on USB drive first, if you want to determine feasibility of that without messing with your partitions and boot loaders.

Arch bootable ISO also has clonezilla. You can backup entire disk (if you have enough space on NAS or another disk of the same size. In this case you can keep restoring everything until you get it right.

Good luck!

2 points

Here is the link from the bottom of the wiki page - it looks like bind mounts is the way to go with systemd-boot. It can't boot from btrfs, but bind mounts for every bootable snapshot work quite well for me.

Multi Boot Linux With One Boot Partition | John Ramsden

refind is the way to go if you need to fit more than a few kernels on ESP, but there is also a way to do that with systemd-boot with systemd-boot - Installation using XBOOTLDR - ArchWiki. I had an issue doing this when extended boot partition was on NVME - systemd-boot only saw extended boot entries if I were to enter bios and exit it without saving changes (go figure). Your mileage may vary - give it a shot.

2 points

This changes often times when it's plugged in

That may be a sign of hardware issue (radio interference between components as an example). On one of my old laptops similar thing happens with webcam. But if I disassemble the LCD and put webcam to the literal side of the laptop - it always works. Go figure.

2 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.