I installed it from https://aur.archlinux.org/packages/osk-sdl.
It states to follow this instructions https://github.com/ShapeShifter499/osk-sdl_arch.
If I put "cryptdevice=/dev/mapper/vg1-system" it won't find that since it is inside the luks.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 285M 0 part /boot/efi
├─sda2 8:2 0 954M 0 part /boot
├─sda3 8:3 0 200G 0 part
│ └─system 253:3 0 200G 0 crypt
│ ├─vg1-system 253:4 0 191.6G 0 lvm /
│ └─vg1-swap 253:5 0 8.4G 0 lvm
How do I change /etc/default/grub then?
GRUB_DEFAULT="0"
GRUB_TIMEOUT="3"
GRUB_DISTRIBUTOR="Artix"
GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=<uuid of sda3>:system root=/dev/mapper/vg1-system resume=/dev/mapper/vg1-swap"
GRUB_CMDLINE_LINUX="net.ifnames=0"
...
GRUB_ENABLE_CRYPTODISK="y"
And /etc/mkinitcpio.conf:
HOOKS=(base udev autodetect modconf encrypt kms keyboard keymap consolefont lvm2 osk-sdl resume block filesystems fsck)
I ran "mkinitcpio -P" and "grub-mkconfig -o /boot/grub/grub.cfg".
With this I get a black screen and I am stuck at boot:
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block lvm2 osk-sdl resume filesystems fsck)
Is that the correct hook order? Do I remove the "encrypt" hook since "osk-sdl" will handle that?
I put it after "lvm2" as the example of the github guide, no "encrypt" hook there too:
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block lvm2 osk-sdl filesystems fsck)
From the GUI I can use osk-sdl, with the command of the hook:
osk-sdl -G -d ${resolved} -n ${cryptname} -c /etc/osk.conf
Should I try this maybe https://gitlab.com/cherrypicker/unl0kr/?
Edit:
unl0kr should replace osk-sdl I got it working using the package from github osk-sdl repo:
https://github.com/ShapeShifter499/osk-sdl_arch/issues/3#issuecomment-1437450719
https://github.com/ShapeShifter499/osk-sdl_arch/issues/3#issuecomment-1437454526
I can't find the right modules so I added all the drivers in unl0kr-install:
add_all_modules "/drivers/"
Therefore the images take some space, I have only 1 kernel:
/dev/sda2 921M 635M 223M 75% /boot
lvm goes after:
HOOKS=(base udev autodetect modconf keyboard keymap consolefont unl0kr lvm2 block filesystems resume fsck)