I have Ubuntu 18.04 installed on my UEFI machine. I want to change the passphrase of my luks encrypted volume. I already know the commands of how to do this. However I don't know which device I need to choose for changing the key ? The EFI parition which is smaller than 1GB or the root partition which takes the whole space of the system ?
Usually you would have an unencrypted
/boot
and an extended partition (sda2 in this example) which have inside the LUKS partition. In this case is sda5sudo cryptsetup luksDump /dev/sda5
for cipher name, mode, and more info.