Re: efibootmgr command for LVM on LUKS
Reply #1 –
Here is the answer.
My /etc/booster.yaml
universal: false
compression: zstd
mount_timeout: 0s
strip: true
vconsole: false
enable_lvm: true
You shouldn't forget
enable_lvm: true
I also highly recommend setting mount_timeout to some big number or disabling it (just as I did by setting it's value to 0s) in case you use a passphrase to unlock your encrypted partition.
And efibootmgr command
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Artix Linux" --loader /vmlinuz-linux-zen --unicode 'cryptdevice=UUID={ENCRYPTED PARTITION UUID}:{DECRYPTED PARTITION NAME} rd.luks.name={ENCRYPTED PARTITION UUID}={DECRYPTED PARTITION NAME} root=UUID={ROOT LVM SUBVOLUME UUID} rootfstype=btrfs rw loglevel=3 quiet initrd=\intel-ucode.img initrd=\booster-linux-zen.img'
You better write it as a single line of code (just as I did).
It turned out rd.luks.name parameter is essential for booster. I am not sure whether it also requires cryptdevice or not but I left it just in case.