You create an EFI partition + a LUKS superblock. Then an LVM PV + VG + as many LVs as you need on top of the LUKS block.
This gives you pretty good flexibility (decrypt only once at boot time) and it beats the hell out of rsync-ing partition contents in the future.
There's lots to learn here but I think it's worth it.
Add alias mc="mc --nosubshell" to your .bashrc or the same command but without the equal sign to .config/fish/config.fish to sort out the slow MC issue.
To set your default shell use chsh as others have suggested.
You can always start bash from within fish (just type bash), or the other way around.
Keep in mind that most folks using fish will still write scripts in bash for portability. Running one of those scripts is effectively running a bash subshell from within the fish shell.
As far as I know Rsync does delta transfers by default. If one of the Arch mirrors offer rsync endpoints then you could use those.
Then you would need to tweak the XferCommand line in pacman.conf to use rsync and see if that works.
Pacman versions older than 5.2.0 used to support delta transfers with the UseDelta option in pacman.conf. This is not the case anymore.
The x86-64-v3 microarchitecture requires the following instruction sets:
AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE.
That is close to a Haswell processor, but does exclude some recent low end Intel CPU that removed AVX support.
The Pentium Gold G5400 powering my home server is one of those CPUs. It was made in 2018 and only supports x86-64-v2. It's low end but also low power, perfect for my application. It will be a sad day when Arch decides to retire the old x86-64 builds in favour of the -v3 only.
That's a good point, I'll give it a try. I think snapshots of the root volume using btrfs or lvm are also an option right before upgrading the kernel to a new release.
That's a good option most of the time, except when a new mainline kernel comes out and then you probably want to boot into LTS for the first minor version or two. Bugs in things like ext4 for example have popped up in the new kernel releases once in a while, even though they get mowed down pretty quick.
It's very confusing, I actually generated the checksums using xxh128sum (XXH3_128) which I didn't realise was unstable at the time. I updated the original post now.
Thanks, that must be it. Your earlier reply was very useful as well.
Looks like XXH3 128bits only became stable in 0.8.0 which confirms my experience.
I have also found this issue which is interesting: https://github.com/Cyan4973/xxHash/issues/447
Basically Zstd uses XXH64 which has been stable for some time, not XXH3 (which has both a 64bit and a 128bit variant).
So I have a bunch of checksums generated in May 2020 with xxhash 0.7.3.
If I check those hashes today using xxhash 0.8.0 a lot of them are faulty, about 3 in 10.
I have separate Sha-1 checksums for the same files and they all verify OK.
This is not a singular occurrence but a whole library of music files.
It's incredibly puzzling.
Edit: these were produced on the exact same machine with a Pentium G5400.
Foliate is a great reader for epub files and Evince for pdfs. You might have Evince already installed since it's the default on Gnome/GTK environments.
Started around 2001.
Redhat 7.x (the old Redhat distro, not RHEL) - Slackware 8.x - Debian (can't remember the version) - pause until 2006 - Ubuntu - Arch 0.7.2
Arch full-time since 2006.
Just use
batmanIs removing the
-fallbackinitramfs build a completely bad idea?I would go for the LVM on LUKS strategy.
You create an EFI partition + a LUKS superblock. Then an LVM PV + VG + as many LVs as you need on top of the LUKS block.
This gives you pretty good flexibility (decrypt only once at boot time) and it beats the hell out of rsync-ing partition contents in the future.
There's lots to learn here but I think it's worth it.
Add
alias mc="mc --nosubshell"to your.bashrcor the same command but without the equal sign to.config/fish/config.fishto sort out the slow MC issue.To set your default shell use
chshas others have suggested.You can always start bash from within fish (just type
bash), or the other way around.Keep in mind that most folks using fish will still write scripts in bash for portability. Running one of those scripts is effectively running a bash subshell from within the fish shell.
Very cool piece of research!
As far as I know Rsync does delta transfers by default. If one of the Arch mirrors offer rsync endpoints then you could use those.
Then you would need to tweak the
XferCommandline inpacman.confto use rsync and see if that works.Pacman versions older than 5.2.0 used to support delta transfers with the
UseDeltaoption in pacman.conf. This is not the case anymore.Thanks, much appreciated
Rsync-ing from the previous install for the past 10 years.
The Pentium Gold G5400 powering my home server is one of those CPUs. It was made in 2018 and only supports
x86-64-v2. It's low end but also low power, perfect for my application. It will be a sad day when Arch decides to retire the old x86-64 builds in favour of the-v3only.Thanks
These type of bugs tend to show up once in a while in new releases.
Also this one from a while ago.
That's a good point, I'll give it a try. I think snapshots of the root volume using
btrfsorlvmare also an option right before upgrading the kernel to a new release.That's a good option most of the time, except when a new mainline kernel comes out and then you probably want to boot into LTS for the first minor version or two. Bugs in things like ext4 for example have popped up in the new kernel releases once in a while, even though they get mowed down pretty quick.
It's very confusing, I actually generated the checksums using xxh128sum (XXH3_128) which I didn't realise was unstable at the time. I updated the original post now.
Thanks, that must be it. Your earlier reply was very useful as well. Looks like XXH3 128bits only became stable in 0.8.0 which confirms my experience.
I have also found this issue which is interesting: https://github.com/Cyan4973/xxHash/issues/447
Basically Zstd uses XXH64 which has been stable for some time, not XXH3 (which has both a 64bit and a 128bit variant).
This is an example of the issue: https://pastebin.com/MMUmNg3z
Can you please check this comment https://old.reddit.com/r/archlinux/comments/m13qnm/is_zstd_viable_for_longterm_archiving/gqckl2s/
Can you please check this comment https://old.reddit.com/r/archlinux/comments/m13qnm/is_zstd_viable_for_longterm_archiving/gqckl2s/
So I have a bunch of checksums generated in May 2020 with
xxhash 0.7.3.If I check those hashes today using
xxhash 0.8.0a lot of them are faulty, about 3 in 10.I have separate Sha-1 checksums for the same files and they all verify OK.
This is not a singular occurrence but a whole library of music files. It's incredibly puzzling.
Edit: these were produced on the exact same machine with a Pentium G5400.
Could this be the reason why compressing the kernel image with
zstdmtis much faster thanzstd -T0?Maybe this is a good occasion to migrate to systemd-homed with Luks encryption? Enable the service, create a new user and migrate the data with rsync.
Why are we replacing PulseAudio again? It's been working great for the past years.
Foliate is a great reader for epub files and Evince for pdfs. You might have Evince already installed since it's the default on Gnome/GTK environments.
Xorg has been working fine for the past 20 years, you probably don't need Wayland.