I have been using that for years already. The systemd hook supplants the udev hook, and part of the base hook.
The base hook is only really needed anymore if you want a rescue shell in the initramfs, but by default, the systemddaemon — not the hook — disables the rescue shell, unless you add “SYSTEMD_SULOGIN_FORCE=1” to your kernel’s boot parameters.
Note that with the systemd hook, you can also replace both the keymap and consolefont hooks by the sd-vconsole hook.
This is only really required if you have the fsck hook, which you don’t normally need with btrfs, given that btrfs performs its own filesystem integrity checks upon mounting the volume.
btrfs is a lot more sophisticated in maintaining its own internal consistency than ext4, given that it keeps checksums on files and directories, as well as that the metadata are stored in duplicate. It will even perform mount-time journal playbacks on read-only mounted volumes.
In addition to that, it also pays to run the btrfsmaintenance package and configure it for periodic background scrubs, background balancing (if needed), and on spinning HDDs, background defragmentation.
There’s no need for that — it is rarely ever written to. On my own system, I have the EFI partition (and several btrfs subvolumes) mounted read-only all the time, except for system updates.
well, I have to do this occasionally as I was experimented with grub-git , they recently added full support for luks2 , but unfortunately it didn’t work for me and I had to run a few grub-install while I tested everything. Maybe someone will also want to test it?
probably most it really does not need, but for me it is useful
cryptdevice=UUID=device-UUID:root root=/dev/mapper/root
to rd.luks.name=device-UUID=root root=/dev/mapper/root
should be enough + create link from crypttab to crypttab.initramfs
don’t know why they didn’t make it compatible with each other
honestly I see the complexity, but I do not see the benefits of switching to systemd hook, but since arch has switched to it by default, I guess we’ll have to accept it
I see the benefit in altering my own system to systemd hooks, if Manjaro decides to follow that upstream switch, even in the given complexity with a full encrypted system.
I’m hesitant in changing anything concerning encryption, certainly based on issues with it after a grub update back in 2021 or 2022?