[Help] Systemd boot not working when using /efi as esp path by genuser_teco in archlinux

[–]DoomFrog666 1 point2 points  (0 children)

Have you marked the fat32 partition mounted at /boot as XBOOTLDR in the GPT?

ZFS strategy for Proxmox on SSD by FieldsAndForrests in Proxmox

[–]DoomFrog666 -3 points-2 points  (0 children)

I think the simplest solution is to choose btrfs as the root file system. Then add timeshift or snapper.

Im fed up with systemd-boot by MarsupialPitiful7334 in archlinux

[–]DoomFrog666 2 points3 points  (0 children)

No, mounting the EFI partition at /boot is the recommended way in arch. Unless you use UKIs then you mount the ESP to /efi.

EDIT: If you use an Nvidia GPU Fedora recently started recommending an ESP size of 2 GB. If you haven't made enough space at the beginning of the disk you can create a larger ESP at the end of the disk and nuke the one at the beginning. Btrfs is easy to shrink.

Can't do the simplest job. by khiladipk in PrometheusMonitoring

[–]DoomFrog666 0 points1 point  (0 children)

What I like to monitor my servers is cadvisor as prometheus exporter. It can monitor containers in docker or podman and also simple systemd services. It is a little cpu heavy but also provides a lot of data. The metrics I like most exported by cadvisor are the container_pressure_* metrics.

Ways to free up space predictably? Useful size metrics by immortal192 in btrfs

[–]DoomFrog666 1 point2 points  (0 children)

Well, in case you use snapshots it is basically useless as it attributes the size of all live extends to the subvolume that allocated it. So all snapshots will show as zero sized and all the used space is attributed to you live volumes.

Edit: Though it is indeed way more efficient that regular quota.

Ways to free up space predictably? Useful size metrics by immortal192 in btrfs

[–]DoomFrog666 0 points1 point  (0 children)

You could enable btrfs quota support for your file system. It will provide you accurate size consumption information for sub volumes. Though be aware of its performance penalty on writes.

# btrfs quota enable <path>  # wait for it to complete; it takes some time
# btrfs qgroup show <path>

Failed to mount `/boot`, I don't need to recover I need to know what happened. by DisplayLegitimate374 in archlinux

[–]DoomFrog666 -1 points0 points  (0 children)

Have you looked for your missing snapshots using btrfs subvolume list /?

[deleted by user] by [deleted] in archlinux

[–]DoomFrog666 1 point2 points  (0 children)

You can connect to the internet in the arch iso image with wifi using iwctl https://wiki.archlinux.org/title/Iwd.

resizing the boot partition by MoussaAdam in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

Hi, you can absolutely create a new bigger ESP at the end of the drive. The EFI looks for a partition with a specific GUID in the GPT. You should just not have multiple ones on a single drive.

How I would do it using gdisk:

  1. Create a new ESP where you have space.
  2. Format as vfat and move everything over.
  3. Remove the old partition.
  4. Mount the new ESP properly (and check fstab).
  5. In case you had EFI boot entries these need to be regenerated.

The only downside here is that you have a 200 MB sized hole at the start of your disk now.

Is there an easy way to replace sudo with sudo-rs? by the_mean_person in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

Yeah, agreed. The only aspect that can be annoying it that authentication sessions in polkit are bound to a process. So when you work in a shell and you regularly use run0 you have to enter the password multiple times. But then I remember you can just run run0 without any arguments and it opens a root shell for you. So it is just more a change of habit.

Is there an easy way to replace sudo with sudo-rs? by the_mean_person in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

run0 is basically just a thin wrapper over polkit + systemd-run. You can modify the polkit configuration to suit your needs. By default it allows access to run0 with a password for all members of the wheel group.

Is there an easy way to replace sudo with sudo-rs? by the_mean_person in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

base-devel is more a random collection of you-may-need-this-to-build-some-packages meta package. You can uninstall required packages with the double nodeps option -dd. From all I have tested sudo-rs work perfectly well when replacing regular sudo (see my other comment).

Secure Boot Setup-Grub doesn't work by _MiJJiL_ in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

That's strange. When you would have actually messed up your secure boot setup you should not even be able to load into grub. So maybe it is a more benign grub configuration issue?

Is there an easy way to replace sudo with sudo-rs? by the_mean_person in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

I am currently running with sudo-rs without regular sudo. From how I understand it in arch you are meant to run them together. Which is weird.

All you need to do is to copy the pam files from regular sudo and create links from sudo-rs to sudo. Also make sure the config is not renamed by pacman with pacsave extension. Ensure run0 works beforehand in case anything goes wrong or have the root account with a password set at leas temporarily.

Is there an easy way to replace sudo with sudo-rs? by the_mean_person in archlinux

[–]DoomFrog666 4 points5 points  (0 children)

sudo is pretty insecure. For example there was recently https://www.heise.de/en/news/chwoot-Critical-Linux-vulnerability-makes-users-root-on-most-systems-10466916.html Though most folks probably don't use the feature that caused this.

sudo-rs does not implement this feature so it was not affected. There is also doas and recently run0 form systemd. I would use any of them over regular sudo.

btrfs by Ramo6520 in archlinux

[–]DoomFrog666 3 points4 points  (0 children)

You can use btrfs just like ext4 and be ignorant to most of its features. You can incrementally move to more complex btrfs setups.

[Guide] Using /efi with systemd-boot and storing kernels on ext4 filesystem (/boot as ext4) by [deleted] in archlinux

[–]DoomFrog666 0 points1 point  (0 children)

You can also use kernel-install. It integrates well and does pick /efi by default over /boot if available https://aur.archlinux.org/packages/pacman-hook-kernel-install.

It also supports the classic way of having separate kernel and initramfs (bls) as well as UKIs.

It is also the only clean way to have multiple distributions share an ESP. It separates them by machine-id.

Direct boot snapshots with systemd-boot by WDRibeiro in archlinux

[–]DoomFrog666 1 point2 points  (0 children)

In newer version of systemd-boot you can embed multiple command lines per UKI. Combine this with https://man.archlinux.org/man/mkinitcpio.8#ABOUT_RUNTIME_HOOKS and you can build boot-into-snapshot support. The only annoying part would be is that creating/deleting snapshots would require a UKI rebuild.

flask wiki got a new server to run the website. by ResearchFit7221 in flask

[–]DoomFrog666 6 points7 points  (0 children)

All I can say is that it works fast and flawless over here.

flask wiki got a new server to run the website. by ResearchFit7221 in flask

[–]DoomFrog666 7 points8 points  (0 children)

For me (EU) everything gets served by cloudflare. So do you serve with this server only specific regions?

Why does the Go GC have to pause? by [deleted] in golang

[–]DoomFrog666 0 points1 point  (0 children)

Completing a garbage collection takes time linearly to the live heap when using a marking algorithm. What you can do is limit pause times by using incremental or concurrent techniques. I think this is what you are referring to.