I'm trying to install Void Linux with LUKS encryption on the root partition, currently, my /etc/fstab file looks like this:
/dev/sda1 /boot/efi vfat rw,relatime 0 2
/dev/sda2 swap swap rw,noatime,discard 0 2
/dev/mapper/foobar / ext4 rw,relatime 0 1
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 2
I also appended these lines to my /etc/default/grub config file:
GRUB_ENABLE_CRYPTODISK=y
GRUB_CMDLINE_LINUX_DEFAULT=cryptdevice=UUID=<foobar_uuid>:foobar root=/dev/mapper/foobar
My crypttab file:
foobar /dev/sda3 /boot/volume.key luks
And last but not least /etc/dracut.conf.d/10-crypt.conf:
install_items+=" /boot/volume.key /etc/crypttab "
I'm fetching
foobarpartition UUID throughblkid -o value -s UUID /dev/sda3
Whenever i pass the GRUB menu selection screen, some logs start appearing, and after a few seconds, the boot process is interrupted with the message on the title, unable to proceed any further