Skip to content

u/marcelsiegert

In this archive from Oct 2017 to Oct 2024

16
posts
97
comments
0
media
712
score

It's good. And even if you're not using snapshots, Btrfs still has benefits compared to Ext4/XFS.

  • Deduplication: cp'd files don't use any additional space until they're changed, and then only the changed chunks are stored.
  • Compression: When installing Arch, mount all Btrfs partitions with -o compress=zstd:1 and add compress=zstd:1 to the /etc/fstab. Never think about it again.
  • Data checksumming: AFAIK only Btrfs and ZFS support this. In the rare case of bit rot. You're notified about it if that bit is read. If you're using RAID 1, data is even repaired automatically.

Btrfs has been stable for me for the past 5 years, even on heavy snapshotting, sending/receiving and database and VM use. It's default on Fedora, SUSE, and several other distributions. It's fine.

12 points
$ sudo LANG=en_US.UTF-8 fstrim -av
/boot/efi: 440.4 MiB (461832192 bytes) trimmed on /dev/nvme0n1p1
/: 755.6 GiB (811348791296 bytes) trimmed on /dev/mapper/luks-93bd2254-adf0-49a8-8a19-bb986a6a1716
$ sudo LANG=en_US.UTF-8 fstrim -av
/boot/efi: 440.4 MiB (461832192 bytes) trimmed on /dev/nvme0n1p1
/: 755.6 GiB (811348779008 bytes) trimmed on /dev/mapper/luks-93bd2254-adf0-49a8-8a19-bb986a6a1716
1 points

Thanks for your reply! :)

Boot a Fedora live USB image. It'll be signed, but with a different certificate. The TPM should refuse to provide the key for your volume.

I can't boot a Fedora live image as Secure Boot prevents it to start, so I generated new Secure Boot keys and deployed them. The TPM then refused to provide the key, so I guess this is working. Disabling Secure Boot also makes me enter the passphrase manually.

Can you modify the command line interactively?

Doesn't seem to be possible. I took another apporach then and placed a configuration file in esp/loader/entries:

title   Archtest
linux   /EFI/Linux/arch-linux.efi
options <my old cmdline> init=/usr/bin/bash

Boots, but boots with the old kernel parameters. So I guess systemd-boot doesn't allow to append/replace the cmdline embedded in unified kernel images.

So I guess it's working fine. :)

1 points

Oh, I didn't realize you posted two different links. My bad.

The base group was replaced by the base meta package a few months ago. The base-devel group still exists as before. The pacman commands in the your second link use pacmans -g option, so one would probably left with nothing installed but the base-devel group.

5 points

Update worked fine for me, and even my extensions (appindicator, arch-update, and gsconnect) are still working. But it seems GNOME doesn't apply some of my settings on login, for example, mouse acceleration profile and key repeat rate. On every login I have to switch them to some other value and back for them to apply.

2 points

One way I could think of:

rm /etc/makepkg.conf && pacman -S pacman

But I'm pretty sure there's a native command for restoring a configuration file or at least a more reasonable way than deleting the file and reinstalling the package containing it.

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.