You are not logged in.
I have a /home partition with LUKS and I don't want to mount it on boot.
I don't have it in fstab, and my crypttab is empty.
Still, systemd tries to force the mount. I have found, by some magic an enabled "systemd-cryptsetup@home" service. I've masked it. But now the boot process hangs on: "A start job is running for /dev/mapper/home". Someone knows where Systemd is taking this from?
Last edited by dext (2021-12-05 13:37:38)
Offline
Found a solution. Systemd looks like a back door to bring "Ubuntu" to Arch
Solution. Run:
systemctl mask systemd-cryptsetup
Add kernel option:
systemd.gpt_auto=0
https://www.freedesktop.org/software/sy … rator.html
https://manpages.debian.org/experimenta … .8.en.html
https://bbs.archlinux.org/viewtopic.php?id=207225
Offline
Good catch, but better use
systemd.gpt_auto=-1
see man page and commit.
This should be enough to get rid of the boot problem, i.e. no need to mask the systemd-cryptsetup.service for that reason - imagine you populate crypttab sometime later with another mount.
Offline