Crypttab does not work out of the box with Artix OpenRC.
I have my root and home partitions encrypted with luks. The root partition gets mounted by grub as luks_root with no problem, but my home partition does not get mounted with crypttab and I don't know why.
Does somebody know how to enable crypttab on Artix? On Arch I have to do nothing but maybe it is because of systemd? Or can I mount both root and home partition with the grubs grub_cmdline_linux?
On booting I get this error:
fsck.ext4: Unable to resolve 'UUID=dc357b1d-............'
* Operational error
* Mounting local filesystems ...
mount: /home: can't find UUID=dc357b1d-............
* Some local filesystem failed to mount
/etc/default/grub
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda3:luks_root"
/etc/mkinitcpio.conf
HOOKS=(base udev autodetect modconf block encrypt filesystems keyboard fsck)
/etc/crypttab
# <name> <device> <password> <options>
#home
luks_home /dev/disk-by-uuid/cc42efc4-.............. none luks
/etc/fstab
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/mapper/luks_home
UUID=dc3571b1d-......... /home ext4 rw,relatime 0 2
rc-upate -v show
dmcrypt | boot default sysinit
If you need more information, please feel free to ask! Thanks in advance!