Djoga'Ro
moonstruck
- Joined
- Apr 3, 2016
- Messages
- 2,499
Hi there,
I think there some Arch users here. Maybe someone knows already, how my problem can be solved.
I have two partitions with LVM on LUKS on my laptop - one on Optane storage, where I put the LVs for root partitions, and one on slower but bigger storage for data like installation-specific /home and /swap and shared data.
Devuan is already installed like that and it boots fine.
Yesterday I installed Artix. Guided by Artix' installation guide and lots of articles in Arch's wiki I think I configered it correct for the most part. the partition with the LUKS container is declared in crypttab, the /-related things in the booting stuff.
It stops booting when trying to fsck /home, which is declared in fstab, of course, but not reachable before opening the data LUKS container. When I log in for maintenance at that point the /-stuff is mounted fine.
I guess, fsck happens before crypttab, because I have the fsck hook in the HOOK array in mkinitcpio.conf.
Can I still use mkinitcpio to issue fsck, but somewhat delayed, so it happens after crypttab got parsed and the container opened?
Thanks,
Djoga'Ro
I think there some Arch users here. Maybe someone knows already, how my problem can be solved.
I have two partitions with LVM on LUKS on my laptop - one on Optane storage, where I put the LVs for root partitions, and one on slower but bigger storage for data like installation-specific /home and /swap and shared data.
Devuan is already installed like that and it boots fine.
Yesterday I installed Artix. Guided by Artix' installation guide and lots of articles in Arch's wiki I think I configered it correct for the most part. the partition with the LUKS container is declared in crypttab, the /-related things in the booting stuff.
It stops booting when trying to fsck /home, which is declared in fstab, of course, but not reachable before opening the data LUKS container. When I log in for maintenance at that point the /-stuff is mounted fine.
I guess, fsck happens before crypttab, because I have the fsck hook in the HOOK array in mkinitcpio.conf.
Can I still use mkinitcpio to issue fsck, but somewhat delayed, so it happens after crypttab got parsed and the container opened?
Thanks,
Djoga'Ro