I've successfully installed Artix base with openrc using LVM on LUKS. I use UEFI and GRUB bootloader.
I've started with this (https://wiki.artixlinux.org/Main/InstallationWithFullDiskEncryption) wiki page, which directly links to https://www.rohlix.eu/post/artix-linux-full-disk-encryption-with-uefi/ blog post. However, there's one difference in these two tutorials that I don't understand.
The former tutorial here on wiki mentions:
But nothing like that is mentioned in the blog post. I don't start these services at boot runlevel and there seems to be no issue. Why would they be needed at the boot runlevel as mentioned?
I do boot with no problem into my newly installed system. Neither of the services mentioned is present at boot runlevel, not at default runlevel.
Thank you
because you need decrypt and use the LUKS/LVM volumes at boot!!?
feel free to skip it, but then don't be surprised that your system doesn't boot :D :D :D
seriously... OpenRC will start with services in the boot runlevel as first, so it is ensured that it is unlocked and decrypted right at the beginning of the boot...
It gives me a lot more sense to have it already in boot runlevel than in default.
I do boot with no problem. I get asked for a passphrase + I use a keyfile. I do successfully boot into my newly installed system without any of these services being present at the boot runlevel, not at default runlevel.
After reading some more, it does seem these services in the boot runlevel are needed when I have additional encrypted filesystems I'd like to decrypt during boot. E.g. I have /home on a separate physical drive, e.g. /dev/sdb. Some information could be found e.g. here https://wiki.alpinelinux.org/wiki/LVM_on_LUKS#Mounting_additional_encrypted_filesystems_at_boot and especially the note:
Since both of the tutorials I mentioned in my original question work only with one physical drive on which there's only root and swap, adding these services to boot runlevel seem to be unnecessary because it does work even when I skip this part of the tutorial.
If I'm wrong, I'd like to be corrected, but since the Artix wiki is the only one that mentions this and I confirmed by experimentation that it could be skipped, I don't think that doing any manual configuration of these services is needed.