How to use cryptdevice or rd.luks.name?
by slac from LinuxQuestions.org on (#5BQDN)
I set up a configuration of LUKS over LVM and I want to set a kernel parameter using cryptdevice or rd.luks.name but I can not do it (or I don't know).
The kernel parameter could be either:
Code:cryptdevice=UUID=device-UUID:root root=/dev/mapper/rootor
Code:rd.luks.name=device-UUID=root root=/dev/mapper/rootI want to do that so I can mount the encrypted root partition, seems like the parameters neither of those parameters work since I am not able to set /dev/VolGroup0/root to /dev/mapper/root. I want to tell fstab where to mount it:
Code:/dev/mapper/root / ext4 defaults 1 1Also, what would be the difference of adding that line from above or the next to the fstab? :
Code:/dev/VolGroup0/root / crypto_LUKS defaults 1 1


The kernel parameter could be either:
Code:cryptdevice=UUID=device-UUID:root root=/dev/mapper/rootor
Code:rd.luks.name=device-UUID=root root=/dev/mapper/rootI want to do that so I can mount the encrypted root partition, seems like the parameters neither of those parameters work since I am not able to set /dev/VolGroup0/root to /dev/mapper/root. I want to tell fstab where to mount it:
Code:/dev/mapper/root / ext4 defaults 1 1Also, what would be the difference of adding that line from above or the next to the fstab? :
Code:/dev/VolGroup0/root / crypto_LUKS defaults 1 1