You can't use LABEL because the filesystem doesn't exist until you've decrypted the partition.
You can only do that if it knows the device to decrypt.
It's not strictly essential to use /dev/sda - yaird gets the root device from /etc/fstab and further information about root from /etc/crypttab. To get it to work with names different from the running system you alter these files to match the target system before running yaird (and alter them back afterwards).
However yaird also works out which drivers/modules to use from the devices you specify so the target needs to have the same driver requirements as the system you run yaird on. If that's not the case then you need to tell yaird (/etc/yaird/Templates.cfg) which modules it should include so they can be added to the initrd.
You can output the initrd to a directory and have a look at what it's done before committing to an initrd file and reboot.
This can save considerable hair loss :-)
partition label
You can't use LABEL because the filesystem doesn't exist until you've decrypted the partition.
You can only do that if it knows the device to decrypt.
It's not strictly essential to use /dev/sda - yaird gets the root device from /etc/fstab and further information about root from /etc/crypttab. To get it to work with names different from the running system you alter these files to match the target system before running yaird (and alter them back afterwards).
However yaird also works out which drivers/modules to use from the devices you specify so the target needs to have the same driver requirements as the system you run yaird on. If that's not the case then you need to tell yaird (/etc/yaird/Templates.cfg) which modules it should include so they can be added to the initrd.
You can output the initrd to a directory and have a look at what it's done before committing to an initrd file and reboot.
This can save considerable hair loss :-)